Skip to content

Commit ec061dd

Browse files
AntoinePrvserge-sans-paille
authored andcommitted
Fix apple detection
1 parent ffa19fb commit ec061dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_utils.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
// This also seems to happen in M1.
3636
struct precision_t
3737
{
38-
#if defined(__apple_build_version__) && (XSIMD_WITH_SSE4_1 || XSIMD_WITH_NEON64)
38+
#if defined(__APPLE__) && (XSIMD_WITH_SSE4_1 || XSIMD_WITH_NEON64)
3939
static constexpr size_t max = 8192;
4040
#else
4141
static constexpr size_t max = 2048;

0 commit comments

Comments
 (0)