X-Git-Url: https://secure.softndesign.org/git/?a=blobdiff_plain;f=debug.h;h=a0d26f7c35ebc990b2d3b255671b6d83af2f50a7;hb=5e0c5bc840f7c64e93c7860cf89a058718dfeedc;hp=01963d2a33e5ec8c9d54779f64bffe47762fcaa2;hpb=d3dbaf9870630d2724b1d22a370184da7954f3a5;p=compress.git diff --git a/debug.h b/debug.h index 01963d2..a0d26f7 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 { myfprintf (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 */