mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-18 16:03:05 +00:00
WINCE: Fix assert() implementation
svn-id: r53980
This commit is contained in:
parent
a4bdd3cdec
commit
6dc5fccfe3
@ -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__)
|
||||
|
||||
|
@ -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__)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user