diff options
author | Nicolas Bacca | 2003-10-12 13:39:15 +0000 |
---|---|---|
committer | Nicolas Bacca | 2003-10-12 13:39:15 +0000 |
commit | 2694c283d949939afb004b288990855514006f73 (patch) | |
tree | 593c0f1c85e2cfd14a3d7a3742fbf088fcafe476 /backends | |
parent | 7ba572b7b84f9f07c3afe582a1b47e64c854603b (diff) | |
download | scummvm-rg350-2694c283d949939afb004b288990855514006f73.tar.gz scummvm-rg350-2694c283d949939afb004b288990855514006f73.tar.bz2 scummvm-rg350-2694c283d949939afb004b288990855514006f73.zip |
True assert
svn-id: r10747
Diffstat (limited to 'backends')
-rw-r--r-- | backends/wince/missing/assert.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/backends/wince/missing/assert.h b/backends/wince/missing/assert.h index ada1a466e6..24bc74a642 100644 --- a/backends/wince/missing/assert.h +++ b/backends/wince/missing/assert.h @@ -1,3 +1,6 @@ /* Header is not present in Windows CE SDK */ -#define assert(a) ;
\ No newline at end of file +#include "common/util.h" + +#define assert(e) ((e) ? 0 : (error("Assertion failed " #e " (%s, %d)", __FILE__, __LINE__))) + |