home *** CD-ROM | disk | FTP | other *** search
-
- #ifdef __cplusplus
- extern "C" {
- #endif
- #ifndef __dl_wassert_h
- # define __dl_wassert_h
- extern void __wassert(char *);
- #else
- # undef assert
- #endif
- #ifndef _DEBUG
- # define assert(ignore) ((void)0)
- #else
- # define __SR(x) __VL(x)
- # define __VL(x) #x
- # define assert(e) ((e) ? (void)0 : __wassert("Assertion " #e " failed at line " __SR(__LINE__) " of file " __FILE__))
- #ifdef __cplusplus
- }
- #endif
- #endif
-