diff options
author | erwin.coumans <erwin.coumans@08e121b0-ae19-0410-a57b-3be3395fd4fd> | 2012-12-07 18:16:04 +0000 |
---|---|---|
committer | erwin.coumans <erwin.coumans@08e121b0-ae19-0410-a57b-3be3395fd4fd> | 2012-12-07 18:16:04 +0000 |
commit | d54423f9c04897bcb9073d648a92a1af01019b98 (patch) | |
tree | 399fb14a61007493ed45bee0026e72ccc2038428 /src/LinearMath/btVector3.cpp | |
parent | b4022e0f23116d99c67bac391035681daeb2c659 (diff) | |
download | bullet3-d54423f9c04897bcb9073d648a92a1af01019b98.tar.gz |
Fix compile error in Visual Studio 2005 build: only enable SSE/SIMD intrinsics for btVector3 for Visual Studio 2008 and higher
Diffstat (limited to 'src/LinearMath/btVector3.cpp')
-rw-r--r-- | src/LinearMath/btVector3.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/LinearMath/btVector3.cpp b/src/LinearMath/btVector3.cpp index 24bd521a9..40d09c0c3 100644 --- a/src/LinearMath/btVector3.cpp +++ b/src/LinearMath/btVector3.cpp @@ -19,10 +19,12 @@ #define BT_USE_SSE_IN_API #endif + #include "btVector3.h" -#if defined (BT_USE_SSE) || defined (BT_USE_NEON) + +#if defined BT_USE_SIMD_VECTOR3 #ifdef __APPLE__ #include <stdint.h> typedef float float4 __attribute__ ((vector_size(16))); |