mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-27 06:07:14 +01:00
17 lines
738 B
Diff
17 lines
738 B
Diff
diff --git a/thirdparty/vhacd/inc/btScalar.h b/thirdparty/vhacd/inc/btScalar.h
|
|
index 3999a71521..4c9e0cf7ab 100644
|
|
--- a/thirdparty/vhacd/inc/btScalar.h
|
|
+++ b/thirdparty/vhacd/inc/btScalar.h
|
|
@@ -72,7 +72,10 @@ inline int32_t btGetVersion()
|
|
#define btFsel(a, b, c) __fsel((a), (b), (c))
|
|
#else
|
|
|
|
-#if (defined(_WIN32) && (_MSC_VER) && _MSC_VER >= 1400) && (!defined(BT_USE_DOUBLE_PRECISION))
|
|
+// -- PANDEMONIUM start --
|
|
+//#if (defined(_WIN32) && (_MSC_VER) && _MSC_VER >= 1400) && (!defined(BT_USE_DOUBLE_PRECISION))
|
|
+#if (defined(_WIN32) && (_MSC_VER) && _MSC_VER >= 1400) && (!defined(BT_USE_DOUBLE_PRECISION)) && (!defined(_M_ARM)) && (!defined(_M_ARM64))
|
|
+// -- PANDEMONIUM end --
|
|
#define BT_USE_SSE
|
|
#include <emmintrin.h>
|
|
#endif
|