summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/tools.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/tools.h b/include/tools.h
index e640da5..8bb7865 100644
--- a/include/tools.h
+++ b/include/tools.h
@@ -47,6 +47,8 @@ using namespace std;
namespace upnp {
void log_debug_msg(const char* file, const char* func, int line, int level, const char* msg, ...) __attribute__ ((format (printf, 5, 6)));
}
+#else
+#define LOG(level, msg...)
#endif
namespace upnp {