fix using SSE on non x86 targets
This commit is contained in:
@@ -71,6 +71,7 @@ inline int b3GetVersion()
|
|||||||
#else
|
#else
|
||||||
|
|
||||||
#if (defined (_WIN32) && (_MSC_VER) && _MSC_VER >= 1400) && (!defined (B3_USE_DOUBLE_PRECISION))
|
#if (defined (_WIN32) && (_MSC_VER) && _MSC_VER >= 1400) && (!defined (B3_USE_DOUBLE_PRECISION))
|
||||||
|
#if (defined (_M_IX86) || defined (_M_X64))
|
||||||
#define B3_USE_SSE
|
#define B3_USE_SSE
|
||||||
#ifdef B3_USE_SSE
|
#ifdef B3_USE_SSE
|
||||||
//B3_USE_SSE_IN_API is disabled under Windows by default, because
|
//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
|
//#define B3_USE_SSE_IN_API
|
||||||
#endif //B3_USE_SSE
|
#endif //B3_USE_SSE
|
||||||
#include <emmintrin.h>
|
#include <emmintrin.h>
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif//_XBOX
|
#endif//_XBOX
|
||||||
|
|||||||
Reference in New Issue
Block a user