From e8bf5237d2b455fa1cb4b3152f2ed6cfa13892a9 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Sat, 14 Jun 2014 10:26:49 +0000 Subject: [PATCH] bullet: fix a very verbose C++11 warning. --- src/bullet/LinearMath/btScalar.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/bullet/LinearMath/btScalar.h b/src/bullet/LinearMath/btScalar.h index e3bd37a0..2684014b 100644 --- a/src/bullet/LinearMath/btScalar.h +++ b/src/bullet/LinearMath/btScalar.h @@ -102,7 +102,9 @@ inline int btGetVersion() #ifdef __SPU__ #include #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