* Allow to use debug() everywhere in the code; it'll just do nothing in

zzuf itself, and will only output stuff in the library.
This commit is contained in:
Sam Hocevar
2007-07-06 13:34:38 +00:00
committed by sam
parent 9cc127dce5
commit 71c077ae58
+5 -1
View File
@@ -19,5 +19,9 @@
extern void _zz_debug(const char *format, ...)
__attribute__((__format__(__printf__, 1, 2)));
#define debug _zz_debug
#ifdef LIBZZUF
# define debug _zz_debug
#else
# define debug(...)
#endif