瀏覽代碼

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

undefined
Sam Hocevar 10 年之前
父節點
當前提交
e8bf5237d2
共有 1 個檔案被更改,包括 3 行新增1 行删除
  1. +3
    -1
      src/bullet/LinearMath/btScalar.h

+ 3
- 1
src/bullet/LinearMath/btScalar.h 查看文件

@@ -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…
取消
儲存