Fixed btAssert warning message on printf in MSVC.
This commit is contained in:
@@ -104,7 +104,7 @@ inline int btGetVersion()
|
|||||||
#ifdef BT_DEBUG
|
#ifdef BT_DEBUG
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#include <stdio.h>
|
#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
|
#else//_MSC_VER
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#define btAssert assert
|
#define btAssert assert
|
||||||
|
|||||||
Reference in New Issue
Block a user