home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d1xx
/
d162
/
iffar.lha
/
Iffar
/
assert.h
< prev
next >
Wrap
C/C++ Source or Header
|
1988-10-02
|
287b
|
13 lines
/* hackercorp - hackercore assert file for Amiga
* kel 12/87 v1.0
*/
#ifndef NODEBUG
#ifndef stderr
#include <stdio.h>
#endif
#define assert(x) if (!(x)) {fprintf(stderr,"Assertion failed: x, file %s, line %d\n",__FILE__,__LINE__); cleanup(); exit(1);}
#else
#define assert(x)
#endif