minor issue with btAssert under Cell
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user