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