WINCE: Fix assert() implementation

svn-id: r53980
This commit is contained in:
Max Horn 2010-10-31 17:23:31 +00:00
parent a4bdd3cdec
commit 6dc5fccfe3
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
// defined in common/util.h
void CDECL _declspec(noreturn) error(const char *s, ...);
#define assert(e) ((e) ? 0 : (::error("Assertion failed " #e " (%s, %d)", __FILE__, __LINE__)))
#define assert(e) ((e) ? 0 : (::error("Assertion failed %s (%s, %d)", #e, __FILE__, __LINE__)))
#define abort() ::error("Abort (%s, %d)", __FILE__, __LINE__)

View File

@ -3,7 +3,7 @@
// defined in common/util.h
void CDECL _declspec(noreturn) error(const char *s, ...);
#define assert(e) ((e) ? (void) 0 : (::error("Assertion failed " #e " (%s, %d)", __FILE__, __LINE__)))
#define assert(e) ((e) ? (void) 0 : (::error("Assertion failed %s (%s, %d)", #e, __FILE__, __LINE__)))
#define abort() ::error("Abort (%s, %d)", __FILE__, __LINE__)