vx32

Local 9vx git repository for patches.
git clone git://r-36.net/vx32
Log | Files | Refs

assert.h (301B)


      1 #ifndef _ASSERT_H
      2 #define _ASSERT_H
      3 
      4 #ifdef NDEBUG
      5 #define assert(v)	((void) 0)
      6 #else
      7 #define assert(v)	((v) ? (void)0 : __assert_fail(__FILE__, __LINE__, \
      8 							__func__, #v))
      9 #endif
     10 
     11 extern void __assert_fail(const char *file, int line,
     12 			const char *func, const char *exp);
     13 
     14 #endif	// _ASSERT_H