scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

assert.h (231B)


      1 #ifndef _ASSERT_H
      2 #define _ASSERT_H
      3 
      4 void __assert(char *exp, char *file, long line);
      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
     11 
     12 #endif