From dc34061786a0a165d388fa546331b2ea39141cc5 Mon Sep 17 00:00:00 2001 From: methodus Date: Mon, 31 Dec 2012 16:35:39 +0100 Subject: Fixed compiler issue --- include/tools.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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 { -- cgit v1.2.3