miniupnpc-libevent: "fix" debug_printf() if DEBUG not defined.

This commit is contained in:
Thomas Bernard 2014-12-12 19:09:48 +01:00
parent 7f47555c66
commit 1b4f132284
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@
#ifdef DEBUG #ifdef DEBUG
#define debug_printf(...) fprintf(stderr, __VA_ARGS__) #define debug_printf(...) fprintf(stderr, __VA_ARGS__)
#else #else
#define debug_printf(...) #define debug_printf(...) (void)
#endif #endif
/* compare the begining of a string with a constant string */ /* compare the begining of a string with a constant string */