use _WIN32 instead of WIN32 (_WIN32 is a compiler built-in)
add virtual destructor to bFile
This commit is contained in:
@@ -36,7 +36,7 @@ inline int btGetVersion()
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef WIN32
|
||||
#ifdef _WIN32
|
||||
|
||||
#if defined(__MINGW32__) || defined(__CYGWIN__) || (defined (_MSC_VER) && _MSC_VER < 1300)
|
||||
|
||||
@@ -61,7 +61,7 @@ inline int btGetVersion()
|
||||
#define btFsel(a,b,c) __fsel((a),(b),(c))
|
||||
#else
|
||||
|
||||
#if (defined (WIN32) && (_MSC_VER) && _MSC_VER >= 1400) && (!defined (BT_USE_DOUBLE_PRECISION))
|
||||
#if (defined (_WIN32) && (_MSC_VER) && _MSC_VER >= 1400) && (!defined (BT_USE_DOUBLE_PRECISION))
|
||||
#define BT_USE_SSE
|
||||
#include <emmintrin.h>
|
||||
#endif
|
||||
|
||||
@@ -49,7 +49,7 @@ public:
|
||||
}
|
||||
public:
|
||||
#else //__CELLOS_LV2__ __SPU__
|
||||
#ifdef BT_USE_SSE // WIN32
|
||||
#ifdef BT_USE_SSE // _WIN32
|
||||
union {
|
||||
__m128 mVec128;
|
||||
btScalar m_floats[4];
|
||||
|
||||
Reference in New Issue
Block a user