home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 5
/
DATAFILE_PDCD5.iso
/
utilities
/
e
/
extralib
/
!ExtrasLib
/
h
/
Paranoia
< prev
next >
Wrap
Text File
|
1996-03-03
|
562b
|
33 lines
/* ExtrasLib:Paranoia.h */
/* ExtrasLib by Peter Hartley 1995-96
* (K) All Rites Reversed - Copy What You Like
*/
#ifndef __xtra_paranoia_h
#define __xtra_paranoia_h
#ifdef PARANOIA
# ifdef NDEBUG
# undef NDEBUG
# endif
#else
# define NDEBUG
#endif
#ifndef __assert_h
#include <assert.h>
#endif
#ifndef er
#define er(___x) { os_error *___e = ___x; if (___e) return ___e; }
#endif
#ifdef PARANOIA
#define per(___y) { os_error *___e = ___y; if (___e) __assert( ___e->errmess, __FILE__, __LINE__ ); }
#else
#define per(___y) ___y
#endif
#endif