Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/extern
diff options
context:
space:
mode:
authorErwin Coumans <blender@erwincoumans.com>2005-08-18 21:32:25 +0400
committerErwin Coumans <blender@erwincoumans.com>2005-08-18 21:32:25 +0400
commit92731af84f3f2bd77e844c722a69667de1329efd (patch)
tree885ca93c56b317a63478e6488d0c7091c00423c9 /extern
parente0189e3a9681ed60399b9cab12adb9e1899b7c6a (diff)
support for __MINGW32__ compiler, it doesn't have __forceinline
Diffstat (limited to 'extern')
-rw-r--r--extern/bullet/LinearMath/SimdScalar.h6
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