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:
parent
66a36ff577
commit
b1dab512c1
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue