X-Git-Url: https://secure.softndesign.org/git/?a=blobdiff_plain;f=debug.h;fp=debug.h;h=64ec161eb9d09bb1b5a664ab5982783106a556b4;hb=5f83300ce6a5da27e68085bddce47b736cfdea79;hp=01963d2a33e5ec8c9d54779f64bffe47762fcaa2;hpb=d3dbaf9870630d2724b1d22a370184da7954f3a5;p=compress.git diff --git a/debug.h b/debug.h index 01963d2..64ec161 100644 --- a/debug.h +++ b/debug.h @@ -2,6 +2,7 @@ #define __DEBUG_H__ #include +#include "fprintf.h" /* constants */ @@ -22,7 +23,7 @@ #define MIN(x, y) (((x) < (y)) ? (x) : (y)) #define MAX(x, y) (((x) > (y)) ? (x) : (y)) #define VERBOSE(level, statement...) do { if (level <= verbose) { statement; } } while(0) -#define PRINTF(args...) do { fprintf (stdout, args); fflush (stdout); } while (0) +#define PRINTF(args...) do { _fprintf (stdout, args); fflush (stdout); } while (0) /* gobal variables */ @@ -30,4 +31,4 @@ extern int verbose; #endif /* __DEBUG_H__ */ -// vim: ts=4 sw=4 et +/* vim: set ts=4 sw=4 et */