X-Git-Url: https://secure.softndesign.org/git/?a=blobdiff_plain;f=debug.h;h=a0d26f7c35ebc990b2d3b255671b6d83af2f50a7;hb=5e0c5bc840f7c64e93c7860cf89a058718dfeedc;hp=01cc89076f827b095eb5d6e8707f5e0f55461a01;hpb=c9987f3b01b7d9c14c358b862d7a8d174476e569;p=compress.git diff --git a/debug.h b/debug.h index 01cc890..a0d26f7 100644 --- a/debug.h +++ b/debug.h @@ -1,6 +1,9 @@ #ifndef __DEBUG_H__ #define __DEBUG_H__ +#include +#include "fprintf.h" + /* constants */ #define COMPRESS 1 @@ -20,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 */ @@ -28,4 +31,4 @@ extern int verbose; #endif /* __DEBUG_H__ */ -// vim: ts=4 sw=4 et +/* vim: set ts=4 sw=4 et */