aboutsummaryrefslogtreecommitdiffstats
path: root/code/tools/lcc/include/alpha/osf/assert.h
blob: ee0b0bfa290316da501700849434d281cb402465 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef __ASSERT
#define __ASSERT

void assert(int);

#endif /* __ASSERT */

#undef assert
#ifdef NDEBUG
#define assert(ignore) ((void)0)
#else
extern void __assert(char *, char *, unsigned);
#define assert(e) ((void)((e)||(__assert(#e, __FILE__, __LINE__),0)))
#endif /* NDEBUG */