mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-19 01:11:05 +01:00
23 lines
428 B
C
23 lines
428 B
C
|
/* $Header: debug.h,v 2.1 88/09/19 12:56:16 nhall Exp $ */
|
||
|
/* $Source: /var/home/tadl/src/argo/xebec/RCS/debug.h,v $ */
|
||
|
|
||
|
#define OUT stdout
|
||
|
|
||
|
extern int debug[128];
|
||
|
|
||
|
#ifdef DEBUG
|
||
|
extern int column;
|
||
|
|
||
|
#define IFDEBUG(letter) \
|
||
|
if(debug['letter']) {
|
||
|
#define ENDDEBUG ; (void) fflush(stdout);}
|
||
|
|
||
|
#else
|
||
|
|
||
|
#define STAR *
|
||
|
#define IFDEBUG(letter) //*beginning of comment*/STAR
|
||
|
#define ENDDEBUG STAR/*end of comment*//
|
||
|
|
||
|
#endif DEBUG
|
||
|
|