Merge pull request #1012 from DaveeFTW/winarm-fix

fix using SSE on non x86 targets
This commit is contained in:
erwincoumans
2017-03-13 21:50:55 -07:00
committed by GitHub

View File

@@ -71,6 +71,7 @@ inline int b3GetVersion()
#else
#if (defined (_WIN32) && (_MSC_VER) && _MSC_VER >= 1400) && (!defined (B3_USE_DOUBLE_PRECISION))
#if (defined (_M_IX86) || defined (_M_X64))
#define B3_USE_SSE
#ifdef B3_USE_SSE
//B3_USE_SSE_IN_API is disabled under Windows by default, because
@@ -82,6 +83,7 @@ inline int b3GetVersion()
//#define B3_USE_SSE_IN_API
#endif //B3_USE_SSE
#include <emmintrin.h>
#endif
#endif
#endif//_XBOX