minor issue with btAssert under Cell

This commit is contained in:
erwin.coumans
2008-11-01 02:22:02 +00:00
parent a637a8c231
commit 461602a5f2

View File

@@ -65,7 +65,7 @@ inline int btGetVersion()
#endif //__MINGW32__ #endif //__MINGW32__
#include <assert.h> #include <assert.h>
#if defined(DEBUG) || defined (_DEBUG) #ifdef BT_DEBUG
#define btAssert assert #define btAssert assert
#else #else
#define btAssert(x) #define btAssert(x)
@@ -85,7 +85,11 @@ inline int btGetVersion()
#ifndef assert #ifndef assert
#include <assert.h> #include <assert.h>
#endif #endif
#ifdef BT_DEBUG
#define btAssert assert #define btAssert assert
#else
#define btAssert(x)
#endif
//btFullAssert is optional, slows down a lot //btFullAssert is optional, slows down a lot
#define btFullAssert(x) #define btFullAssert(x)
@@ -102,7 +106,11 @@ inline int btGetVersion()
#ifndef assert #ifndef assert
#include <assert.h> #include <assert.h>
#endif #endif
#ifdef BT_DEBUG
#define btAssert assert #define btAssert assert
#else
#define btAssert(x)
#endif
//btFullAssert is optional, slows down a lot //btFullAssert is optional, slows down a lot
#define btFullAssert(x) #define btFullAssert(x)