Rev 4973 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4973 | Rev 5123 | ||
---|---|---|---|
Line 2... | Line 2... | ||
2 | #ifndef __dj_ENFORCE_ANSI_FREESTANDING |
2 | #ifndef __dj_ENFORCE_ANSI_FREESTANDING |
Line 3... | Line 3... | ||
3 | 3 | ||
4 | #undef assert |
4 | #undef assert |
Line -... | Line 5... | ||
- | 5 | #undef unimpl |
|
- | 6 | ||
- | 7 | #ifdef NDEBUG |
|
5 | #undef unimpl |
8 | #define assert(test) /*nothing*/ |
- | 9 | #else |
|
6 | 10 | #define assert(test) ((void)((test)||(__dj_assert(#test,__FILE__,__LINE__),0))) |
|
Line 7... | Line 11... | ||
7 | #define assert(test) ((void)((test)||(__dj_assert(#test,__FILE__,__LINE__),0))) |
11 | #endif |
8 | #define unimpl() __dj_unimp("Called unimplemented function in file \"" __FILE__ "\"\n") |
12 | #define unimpl() __dj_unimp("Called unimplemented function in file \"" __FILE__ "\"\n") |