diff options
Diffstat (limited to 'dpi/datauri.c')
-rw-r--r-- | dpi/datauri.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/dpi/datauri.c b/dpi/datauri.c index 5f3c79a7..0165eba4 100644 --- a/dpi/datauri.c +++ b/dpi/datauri.c @@ -22,8 +22,13 @@ /* * Debugging macros */ +#define SILENT 1 #define _MSG(...) -#define MSG(...) printf("[datauri dpi]: " __VA_ARGS__) +#if SILENT + #define MSG(...) +#else + #define MSG(...) fprintf(stderr, "[datauri dpi]: " __VA_ARGS__) +#endif /* * Global variables |