| Last change
 on this file since 2018 was             1506, checked in by bird, 21 years ago | 
        
          | 
@unixroot. header reviews. ++
 | 
        
          | 
              
Property                 cvs2svn:cvs-rev
 set to                 1.2
Property                 svn:eol-style
 set to                 native
Property                 svn:executable
 set to                 * | 
        
          | File size:
            370 bytes | 
      
      
| Line |  | 
|---|
| 1 | /* assert.h,v 1.2 2004/09/14 22:27:31 bird Exp */ | 
|---|
| 2 | /** @file | 
|---|
| 3 | * EMX | 
|---|
| 4 | */ | 
|---|
| 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 | 
|---|
| 15 | void _assert (__const__ char *, __const__ char *, unsigned); | 
|---|
| 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.