b64481fed4
* Check for non-ASCII characters in getch() because the rest of the code doesn't expect such. * Removed use of -traditional and constructs which relied on this. * Use raise(SIGFPE) in dump() instead of attempting a division-by-zero. * Fixed compiler warnings regarding missing prototypes or unused parameters.
22 lines
326 B
C
22 lines
326 B
C
/* $NetBSD: debug.h,v 1.8 2007/01/18 12:43:38 cbiere 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) {
|
|
#define ENDDEBUG ; }
|
|
|
|
#endif /* DEBUG */
|
|
|