diff options
-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__))) + |