mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-02 08:33:20 +00: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
|
|
|