diff --git a/src/bullet/src/BulletCollision/BroadphaseCollision/btQuantizedBvh.h b/src/bullet/src/BulletCollision/BroadphaseCollision/btQuantizedBvh.h index 99c72272b..8efae2706 100644 --- a/src/bullet/src/BulletCollision/BroadphaseCollision/btQuantizedBvh.h +++ b/src/bullet/src/BulletCollision/BroadphaseCollision/btQuantizedBvh.h @@ -41,7 +41,21 @@ class btSerializer; #define btQuantizedBvhDataName "btQuantizedBvhFloatData" #endif - +#ifdef __GNUC__ +#include +#elif defined(_MSC_VER) +typedef __int32 int32_t; +typedef __int64 int64_t; +typedef __uint16 uint16_t; +typedef __int8 int8_t; +typedef unsigned __int32 uint32_t; +typedef unsigned __int64 uint64_t; +#else +typedef int int32_t; +typedef long long int int64_t; +typedef unsigned int uint32_t; +typedef unsigned long long int uint64_t; +#endif //http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclang/html/vclrf__m128.asp