diff options
author | Erwin Coumans <blender@erwincoumans.com> | 2005-08-18 21:32:25 +0400 |
---|---|---|
committer | Erwin Coumans <blender@erwincoumans.com> | 2005-08-18 21:32:25 +0400 |
commit | 92731af84f3f2bd77e844c722a69667de1329efd (patch) | |
tree | 885ca93c56b317a63478e6488d0c7091c00423c9 /extern/bullet | |
parent | e0189e3a9681ed60399b9cab12adb9e1899b7c6a (diff) |
support for __MINGW32__ compiler, it doesn't have __forceinline
Diffstat (limited to 'extern/bullet')
-rw-r--r-- | extern/bullet/LinearMath/SimdScalar.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 <float.h> #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 |