home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Vectronix 2
/
VECTRONIX2.iso
/
FILES_01
/
MARK_WC2.LZH
/
INCLUDE
/
ASSERT.H
< prev
next >
Wrap
Text File
|
1988-04-27
|
404b
|
17 lines
/*
* assert.h -- assertion verifier to test changes to code.
*
* Copyright (c) 1981-1987, Mark Williams Company, Chicago
* This file and its contents may not be copied or distributed
* without permission.
*/
#if NDEBUG
#define assert(p)
#else
#define assert(p) if(!(p)){printf("%s: %d: assert(%s) failed.\n",\
__FILE__, __LINE__, #p);exit(1);}
#endif
/* End of assert.h */