From a57e1632a6d4f611bcd942647140297207c41f71 Mon Sep 17 00:00:00 2001 From: Kenneth Bogert Date: Tue, 21 Apr 2015 00:31:41 -0400 Subject: [PATCH] Prevent SSE Alignment crash in VS2010 and up See http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?t=8915 --- src/LinearMath/btQuadWord.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LinearMath/btQuadWord.h b/src/LinearMath/btQuadWord.h index 11067ef47..fcfb3be44 100644 --- a/src/LinearMath/btQuadWord.h +++ b/src/LinearMath/btQuadWord.h @@ -73,7 +73,7 @@ public: public: -#if defined(BT_USE_SSE) || defined(BT_USE_NEON) +#if (defined(BT_USE_SSE_IN_API) && defined(BT_USE_SSE)) || defined(BT_USE_NEON) // Set Vector SIMD_FORCE_INLINE btQuadWord(const btSimdFloat4 vec)