Browse Source

bullet: fix a very verbose C++11 warning.

undefined
Sam Hocevar 10 years ago
parent
commit
e8bf5237d2
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/bullet/LinearMath/btScalar.h

+ 3
- 1
src/bullet/LinearMath/btScalar.h View File

@@ -102,7 +102,9 @@ inline int btGetVersion()
#ifdef __SPU__
#include <spu_printf.h>
#define printf spu_printf
#define btAssert(x) {if(!(x)){printf("Assert "__FILE__ ":%u ("#x")\n", __LINE__);spu_hcmpeq(0,0);}}
// LOL BEGIN
#define btAssert(x) {if(!(x)){printf("Assert " __FILE__ ":%u ("#x")\n", __LINE__);spu_hcmpeq(0,0);}}
// LOL END
#else
#define btAssert assert
#endif


Loading…
Cancel
Save