Fixed btAssert warning message on printf in MSVC.

This commit is contained in:
artoowang
2016-05-17 14:10:22 -07:00
parent fd5bca1bab
commit cfcb8eda9b

View File

@@ -104,7 +104,7 @@ inline int btGetVersion()
#ifdef BT_DEBUG
#ifdef _MSC_VER
#include <stdio.h>
#define btAssert(x) { if(!(x)){printf("Assert "__FILE__ ":%u ("#x")\n", __LINE__);__debugbreak(); }}
#define btAssert(x) { if(!(x)){printf("Assert "__FILE__ ":%u (%s)\n", __LINE__, #x);__debugbreak(); }}
#else//_MSC_VER
#include <assert.h>
#define btAssert assert