* added compilers lcc and bcc (linux86)
[mascara-docs.git] / compilers / linux86-0.16.17 / libc / include / assert.h
blobaef6cdf08c8ad172a5bbc7cd693b8cd504526ad4
1 #ifndef __ASSERT_H
2 #define __ASSERT_H
3 #include <features.h>
5 /* If NDEBUG is defined, do nothing.
6 If not, and EXPRESSION is zero, print an error message and abort. */
8 #ifdef NDEBUG
10 #define assert(expr) ((void) 0)
12 #else /* Not NDEBUG. */
14 extern void __assert __P((const char *, const char *, int));
16 #define assert(expr) \
17 ((void) ((expr) || \
18 (__assert (__STRING(expr), \
19 __FILE__, __LINE__), 0)))
21 #endif /* NDEBUG. */
23 #endif /* __ASSERT_H */