diff options
author | Kostas Nakos | 2006-07-01 08:13:46 +0000 |
---|---|---|
committer | Kostas Nakos | 2006-07-01 08:13:46 +0000 |
commit | 6a8749ace05649fdf69593c76a75c322f34a5bfa (patch) | |
tree | da214254c9ca56ded22af377fe0763ad73dd7bb5 /backends/platform/wince/missing/assert.h | |
parent | 294dcea3ef063ee4ec95f3f418af4534445da1c6 (diff) | |
download | scummvm-rg350-6a8749ace05649fdf69593c76a75c322f34a5bfa.tar.gz scummvm-rg350-6a8749ace05649fdf69593c76a75c322f34a5bfa.tar.bz2 scummvm-rg350-6a8749ace05649fdf69593c76a75c322f34a5bfa.zip |
move ce port to its new home
svn-id: r23366
Diffstat (limited to 'backends/platform/wince/missing/assert.h')
-rw-r--r-- | backends/platform/wince/missing/assert.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/backends/platform/wince/missing/assert.h b/backends/platform/wince/missing/assert.h new file mode 100644 index 0000000000..0a9dc23bb8 --- /dev/null +++ b/backends/platform/wince/missing/assert.h @@ -0,0 +1,9 @@ +/* Header is not present in Windows CE SDK */ + +// 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 abort() ::error("Abort (%s, %d)", __FILE__, __LINE__) + |