blob: 05daceb3eaef2ed754781bcb97ac2f49385ecd76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/* $OpenBSD: debug.h,v 1.2 1996/03/04 10:37:01 mickey Exp $ */
/* $NetBSD: debug.h,v 1.4 1994/06/29 06:41:00 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
|