remove calls to standard fprintf function
[compress.git] / debug.h
diff --git a/debug.h b/debug.h
index 01963d2a33e5ec8c9d54779f64bffe47762fcaa2..64ec161eb9d09bb1b5a664ab5982783106a556b4 100644 (file)
--- a/debug.h
+++ b/debug.h
@@ -2,6 +2,7 @@
 #define __DEBUG_H__
 
 #include <stdio.h>
+#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 */