aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/wince/missing/assert.h
blob: 0a9dc23bb8a297de5d6082fb85dd31db6c64fa63 (plain)
1
2
3
4
5
6
7
8
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__)