We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2aceb7a commit c784bd2Copy full SHA for c784bd2
include/xsimd/config/xsimd_inline.hpp
@@ -12,7 +12,9 @@
12
#ifndef XSIMD_INLINE_HPP
13
#define XSIMD_INLINE_HPP
14
15
-#if defined(__GNUC__)
+// When using Clang on Windows, Clangs defines _MSC_VER instead of __GNUC__
16
+// and selecs a version it does not support.
17
+#if defined(__GNUC__) || (defined(_MSC_VER) && defined(__clang__))
18
#define XSIMD_INLINE inline __attribute__((always_inline))
19
#elif defined(_MSC_VER)
20
#define XSIMD_INLINE inline __forceinline
0 commit comments