home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / SASC6574.LZX / include / assert.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-04-04  |  421 b   |  19 lines

  1. /* Copyright (c) 1992-1993 SAS Institute, Inc., Cary, NC USA */
  2. /* All Rights Reserved */
  3.  
  4. /* assert.h is allowed to included multiple times */
  5. /* for the purposes of debugging.                 */
  6.  
  7. #ifdef assert
  8. #undef assert
  9. #endif
  10.  
  11. #ifndef NDEBUG
  12. #define assert(x)  __assert((int)(x), #x, __FILE__, __LINE__)
  13. #else
  14. #define assert(ignore)  ((void) 0)
  15. #endif
  16.  
  17. extern void __assert(int, const char *, const char *, int);
  18.  
  19.