Skip to content

Commit a903944

Browse files
[neon] Fix incorrect guard for system headers on Windows
One need to cope with windows/non-windows header as well as clang-cl/msvc compatibility. Courtesy to @komainu8 and @mtl1979 for the patch. Fix #1346
1 parent cc9ca38 commit a903944

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/xsimd/types/xsimd_neon_register.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#include "./xsimd_register.hpp"
1919

2020
#if XSIMD_WITH_NEON
21-
#if defined(_WIN32) && XSIMD_WITH_NEON64
21+
#if defined(_MSC_VER) && !defined(__clang__) && XSIMD_WITH_NEON64
2222
#include <arm64_neon.h>
2323
#else
2424
#include <arm_neon.h>

0 commit comments

Comments
 (0)