From 92731af84f3f2bd77e844c722a69667de1329efd Mon Sep 17 00:00:00 2001 From: Erwin Coumans Date: Thu, 18 Aug 2005 17:32:25 +0000 Subject: support for __MINGW32__ compiler, it doesn't have __forceinline --- extern/bullet/LinearMath/SimdScalar.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'extern') diff --git a/extern/bullet/LinearMath/SimdScalar.h b/extern/bullet/LinearMath/SimdScalar.h index 6feaee53f8e..b1e1905666a 100644 --- a/extern/bullet/LinearMath/SimdScalar.h +++ b/extern/bullet/LinearMath/SimdScalar.h @@ -39,7 +39,13 @@ DEALINGS IN THE SOFTWARE. #include #ifdef WIN32 + +#ifdef __MINGW32__ +#define SIMD_FORCE_INLINE inline +#else #define SIMD_FORCE_INLINE __forceinline +#endif //__MINGW32__ + //#define ATTRIBUTE_ALIGNED16(a) __declspec(align(16)) a #define ATTRIBUTE_ALIGNED16(a) a -- cgit v1.2.3