diff options
author | Max Horn | 2010-10-31 17:23:31 +0000 |
---|---|---|
committer | Max Horn | 2010-10-31 17:23:31 +0000 |
commit | 6dc5fccfe3ad475f1e079ed9915a62943aedf588 (patch) | |
tree | 2bb349c9c8019fa9f8c27f19f38de682a134e713 /backends/platform/wince/missing | |
parent | a4bdd3cdec995cc864eeeda41812e6ab093acdbc (diff) | |
download | scummvm-rg350-6dc5fccfe3ad475f1e079ed9915a62943aedf588.tar.gz scummvm-rg350-6dc5fccfe3ad475f1e079ed9915a62943aedf588.tar.bz2 scummvm-rg350-6dc5fccfe3ad475f1e079ed9915a62943aedf588.zip |
WINCE: Fix assert() implementation
svn-id: r53980
Diffstat (limited to 'backends/platform/wince/missing')
-rw-r--r-- | backends/platform/wince/missing/assert.h | 2 | ||||
-rw-r--r-- | backends/platform/wince/missing/gcc/assert.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/wince/missing/assert.h b/backends/platform/wince/missing/assert.h index 0a9dc23bb8..734b8f9482 100644 --- a/backends/platform/wince/missing/assert.h +++ b/backends/platform/wince/missing/assert.h @@ -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__) diff --git a/backends/platform/wince/missing/gcc/assert.h b/backends/platform/wince/missing/gcc/assert.h index 06742532ac..d52adb8c2c 100644 --- a/backends/platform/wince/missing/gcc/assert.h +++ b/backends/platform/wince/missing/gcc/assert.h @@ -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__) |