Diff of /trunk/mkinitrd-magellan/klibc/usr/include/assert.h
Parent Directory | Revision Log | Patch
revision 1121 by niro, Sat Sep 1 22:45:15 2007 UTC | revision 1122 by niro, Wed Aug 18 21:11:40 2010 UTC | |
---|---|---|
# | Line 9 | Line 9 |
9 | ||
10 | #ifdef NDEBUG | #ifdef NDEBUG |
11 | ||
12 | #define assert(x) ((void)(x)) | /* |
13 | * NDEBUG doesn't just suppress the faulting behavior of assert(), | |
14 | * but also all side effects of the assert() argument. This behavior | |
15 | * is required by the C standard, and allows the argument to reference | |
16 | * variables that are not defined without NDEBUG. | |
17 | */ | |
18 | #define assert(x) ((void)(0)) | |
19 | ||
20 | #else | #else |
21 |
|