|
|
1.1 root 1: /* netboot
2: *
3: * assert.h,v
4: * Revision 1.1 1993/07/08 16:03:51 brezak
5: * Diskless boot prom code from Jim McKim ([email protected])
6: *
7: * Revision 1.1.1.1 1993/05/28 11:41:07 mckim
8: * Initial version.
9: *
10: *
11: * source in this file came from
12: * the Mach ethernet boot written by Leendert van Doorn.
13: *
14: * assert.h
15: */
16:
17: #ifndef NDEBUG
18: #define assert(exp) \
19: if (!(exp)) { \
20: printf("Assertion \"%s\" failed: file %s, line %d\n", \
21: #exp, __FILE__, __LINE__); \
22: exit(1); \
23: }
24: #else
25: #define assert(exp) /* */
26: #endif /* _ASSERT_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.