Skip to content

Commit 0a9986b

Browse files
authored
Merge pull request #15 from Antares0982/fix-macro
Fix XJB_USE_SSE2 detection
2 parents 043425d + 1ab0017 commit 0a9986b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bench/xjb/float_to_string/ftoa.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151

5252
/* Whether to use sse2 (x64). */
5353
#ifndef XJB_USE_SSE2
54-
# if XJB_USE_SIMD && (defined(__GNUC__) && defined(__SSE2__) && defined(__amd64__))
54+
# if XJB_USE_SIMD && defined(__SSE2__) && __SSE2__
5555
# include <immintrin.h>
5656
# define XJB_USE_SSE2 1
5757
# else

0 commit comments

Comments
 (0)