1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

win32 fix release build

static inline blows up release builds on VC

Reported-by: Michel Archambault <marchamb@matrox.com>
Signed-off-by: Andy Green <andy@warmcat.com>
This commit is contained in:
Andy Green 2011-05-14 13:12:01 +02:00
parent 66a36ff577
commit b1dab512c1

View file

@ -84,7 +84,12 @@ void debug(const char *format, ...)
va_start(ap, format); vfprintf(stderr, format, ap); va_end(ap);
}
#else
static inline void debug(const char *format, ...)
#ifdef WIN32
static
#else
static inline
#endif
void debug(const char *format, ...)
{
}
#endif