diff options
Diffstat (limited to 'PhysX_3.4/Source/LowLevelCloth')
| -rw-r--r-- | PhysX_3.4/Source/LowLevelCloth/src/SimdTypes.h | 2 | ||||
| -rw-r--r-- | PhysX_3.4/Source/LowLevelCloth/src/scalar/SimdTypes.h | 8 |
2 files changed, 1 insertions, 9 deletions
diff --git a/PhysX_3.4/Source/LowLevelCloth/src/SimdTypes.h b/PhysX_3.4/Source/LowLevelCloth/src/SimdTypes.h index cf136606..49a27ab4 100644 --- a/PhysX_3.4/Source/LowLevelCloth/src/SimdTypes.h +++ b/PhysX_3.4/Source/LowLevelCloth/src/SimdTypes.h @@ -73,7 +73,7 @@ void foo(const float* ptr) * Define Simd4f and Simd4i, which map to four 32bit float or integer tuples. * */ // note: ps4 compiler defines _M_X64 without value -#if defined (_M_IX86) || defined (_M_X64) || defined (__i386__) || defined (__x86_64__) || PX_EMSCRIPTEN +#if((defined _M_IX86) || (defined _M_X64) || (defined __i386__) || (defined __x86_64__) || (defined __EMSCRIPTEN__ && defined __SSE2__)) #define NV_SIMD_SSE2 1 #else #define NV_SIMD_SSE2 0 diff --git a/PhysX_3.4/Source/LowLevelCloth/src/scalar/SimdTypes.h b/PhysX_3.4/Source/LowLevelCloth/src/scalar/SimdTypes.h index ac4239e9..58fb4af1 100644 --- a/PhysX_3.4/Source/LowLevelCloth/src/scalar/SimdTypes.h +++ b/PhysX_3.4/Source/LowLevelCloth/src/scalar/SimdTypes.h @@ -29,16 +29,8 @@ #pragma once -#if NV_WIIU -#pragma ghs nowarning 193 // warning #193-D: zero used for undefined preprocessing identifier -#endif - #include <algorithm> -#if NV_WIIU -#pragma ghs endnowarning -#endif - #ifdef _MSC_VER typedef __int32 int32_t; typedef unsigned __int32 uint32_t; |