home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 4
/
DATAFILE_PDCD4.iso
/
unix
/
unixtools
/
unixlib
/
clib
/
h
/
assert
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1992-07-21
|
244 b
|
14 lines
/* assert.h (c) Copyright 1990 H.Rogers */
#ifndef __ASSERT_H
#define __ASSERT_H
#ifdef NDEBUG
#define assert(x) ()
#else
extern void __fail(char *,char *,int);
#define assert(x) (void)((x) ? 0 : __fail(#x,__FILE__,__LINE__))
#endif
#endif