0004-fix-uwp-arm-build.patch 726 B

1234567891011121314151617
  1. diff --git a/thirdparty/vhacd/inc/btScalar.h b/thirdparty/vhacd/inc/btScalar.h
  2. index 3999a71521..4c9e0cf7ab 100644
  3. --- a/thirdparty/vhacd/inc/btScalar.h
  4. +++ b/thirdparty/vhacd/inc/btScalar.h
  5. @@ -72,7 +72,10 @@ inline int32_t btGetVersion()
  6. #define btFsel(a, b, c) __fsel((a), (b), (c))
  7. #else
  8. -#if (defined(_WIN32) && (_MSC_VER) && _MSC_VER >= 1400) && (!defined(BT_USE_DOUBLE_PRECISION))
  9. +// -- GODOT start --
  10. +//#if (defined(_WIN32) && (_MSC_VER) && _MSC_VER >= 1400) && (!defined(BT_USE_DOUBLE_PRECISION))
  11. +#if (defined(_WIN32) && (_MSC_VER) && _MSC_VER >= 1400) && (!defined(BT_USE_DOUBLE_PRECISION)) && (!defined(_M_ARM)) && (!defined(_M_ARM64))
  12. +// -- GODOT end --
  13. #define BT_USE_SSE
  14. #include <emmintrin.h>
  15. #endif