Last change
on this file was 3897, checked in by bird, 11 years ago |
svn properties.
|
-
Property cvs2svn:cvs-rev
set to
1.2
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Id
|
File size:
362 bytes
|
Rev | Line | |
---|
[1506] | 1 | /* assert.h,v 1.2 2004/09/14 22:27:31 bird Exp */
|
---|
| 2 | /** @file
|
---|
| 3 | * EMX
|
---|
| 4 | */
|
---|
[18] | 5 |
|
---|
| 6 | #if defined (__cplusplus)
|
---|
| 7 | extern "C" {
|
---|
| 8 | #endif
|
---|
| 9 |
|
---|
| 10 | #undef assert
|
---|
| 11 |
|
---|
| 12 | #if defined (NDEBUG)
|
---|
| 13 | #define assert(exp) ((void)0)
|
---|
| 14 | #else
|
---|
[3808] | 15 | void _assert (const char *, const char *, unsigned);
|
---|
[18] | 16 | #define assert(exp) ((exp) ? (void)0 : _assert (#exp, __FILE__, __LINE__))
|
---|
| 17 | #endif
|
---|
| 18 |
|
---|
| 19 | #if defined (__cplusplus)
|
---|
| 20 | }
|
---|
| 21 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.