Skip to content

Commit cbf693c

Browse files
authored
Merge pull request #1180 from DiamonDinoia/macro-fix
Fixes XSIMD_INLINE for compilers that don't have always_inline
2 parents e808799 + f7096a7 commit cbf693c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/xsimd/config/xsimd_inline.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
#elif defined __has_attribute
1818
#if __has_attribute(always_inline)
1919
#define XSIMD_INLINE inline __attribute__((always_inline))
20+
#else
21+
#define XSIMD_INLINE inline
2022
#endif
2123
#elif defined(_MSC_VER)
2224
#define XSIMD_INLINE inline __forceinline

0 commit comments

Comments
 (0)