1995-05-30 08:16:23 +00:00
|
|
|
/* $Header: /home/ncvs/src/sys/netiso/xebec/debug.h,v 1.1.1.1 1994/05/24 10:07:51 rgrimes Exp $ */
|
|
|
|
/* $Source: /home/ncvs/src/sys/netiso/xebec/debug.h,v $ */
|
1994-05-24 10:09:53 +00:00
|
|
|
|
|
|
|
#define OUT stdout
|
|
|
|
|
|
|
|
extern int debug[128];
|
|
|
|
|
|
|
|
#ifdef DEBUG
|
|
|
|
extern int column;
|
|
|
|
|
|
|
|
#define IFDEBUG(letter) \
|
1995-05-30 08:16:23 +00:00
|
|
|
if(debug['letter']) {
|
1994-05-24 10:09:53 +00:00
|
|
|
#define ENDDEBUG ; (void) fflush(stdout);}
|
|
|
|
|
1995-05-30 08:16:23 +00:00
|
|
|
#else
|
1994-05-24 10:09:53 +00:00
|
|
|
|
|
|
|
#define STAR *
|
|
|
|
#define IFDEBUG(letter) //*beginning of comment*/STAR
|
|
|
|
#define ENDDEBUG STAR/*end of comment*//
|
|
|
|
|
|
|
|
#endif DEBUG
|
|
|
|
|