diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2015-10-10 21:21:28 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2015-10-10 21:21:28 +0000 |
commit | 85a0d7111560dde86ef2885ea214d5438eb6ee92 (patch) | |
tree | db370354ab17791f14477a6ad132a639e7ec4fce /lib/builtins/fp_fixuint_impl.inc | |
parent | 1823f5f680ae81f5e39f158c0f201431acad1667 (diff) |
builtins: spell inline as __inline
__inline is a vendor specific spelling for inline. clang and gcc treat it the
same as inline, and is available in MSVC 2013 which does not implement C99
(VS2015 supports the inline keyword though). This will allow us to build the
builtins using MSVC.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@249953 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/builtins/fp_fixuint_impl.inc')
-rw-r--r-- | lib/builtins/fp_fixuint_impl.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/builtins/fp_fixuint_impl.inc b/lib/builtins/fp_fixuint_impl.inc index 5fefab0e2..b223c6384 100644 --- a/lib/builtins/fp_fixuint_impl.inc +++ b/lib/builtins/fp_fixuint_impl.inc @@ -14,7 +14,7 @@ #include "fp_lib.h" -static inline fixuint_t __fixuint(fp_t a) { +static __inline fixuint_t __fixuint(fp_t a) { // Break a into sign, exponent, significand const rep_t aRep = toRep(a); const rep_t aAbs = aRep & absMask; |