scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

assert.h (222B)


      1 #undef assert
      2 
      3 extern void __assert(char *, char *, long);
      4 extern void assert(int);
      5 
      6 #ifndef NDEBUG
      7 # define assert(exp) ((exp) ? (void) 0 : __assert(#exp, __FILE__, __LINE__))
      8 #else
      9 # define assert(exp) ((void) 0)
     10 #endif