aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/wince/missing/assert.h
blob: 734b8f948246d90bf8e1f2673b28683081a5b58a (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 %s (%s, %d)", #e, __FILE__, __LINE__)))

#define abort() ::error("Abort (%s, %d)", __FILE__, __LINE__)