NetBSD/sys/netiso/xebec/debug.h

22 lines
363 B
C

/* $Id: debug.h,v 1.2 1993/05/20 05:28:20 cgd 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