home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
e
/
emxdev8f.zip
/
ASSERT.H
< prev
next >
Wrap
C/C++ Source or Header
|
1992-11-18
|
342b
|
19 lines
/* assert.h (emx+gcc) */
#if defined (__cplusplus)
extern "C" {
#endif
#undef assert
#if defined (NDEBUG)
#define assert(exp) ((void)0)
#else
void _assert (char *string, char *fname, unsigned int line);
#define assert(exp) ((exp) ? (void)0 : _assert (#exp, __FILE__, __LINE__))
#endif
#if defined (__cplusplus)
}
#endif