Fix compile error in Visual Studio 2005 build: only enable SSE/SIMD intrinsics for btVector3 for Visual Studio 2008 and higher

This commit is contained in:
erwin.coumans
2012-12-07 18:16:04 +00:00
parent b4022e0f23
commit d54423f9c0
4 changed files with 35 additions and 27 deletions

View File

@@ -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)));