NetBSD/sys/netiso/xebec/debug.h
2002-05-16 19:30:41 +00:00

22 lines
373 B
C

/* $NetBSD: debug.h,v 1.5 2002/05/16 19:30:41 wiz Exp $ */
#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 */