From 0d586c4930cf68266d49fa0fcd2540e4f02efb44 Mon Sep 17 00:00:00 2001 From: David Galeano Date: Thu, 10 Jan 2013 10:08:50 +0800 Subject: [PATCH] Better definition of "debug" macro for Win32 builds. --- lib/private-libwebsockets.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/private-libwebsockets.h b/lib/private-libwebsockets.h index 32fd2b51..a5a11a7f 100644 --- a/lib/private-libwebsockets.h +++ b/lib/private-libwebsockets.h @@ -98,14 +98,14 @@ void debug(const char *format, ...) } #else #ifdef WIN32 -static __inline +#define debug(...) #else static inline -#endif void debug(const char *format, ...) { } #endif +#endif /*