projects
/
profile
/
ivi
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66a36ff
)
win32 fix release build
author
Andy Green
<andy@warmcat.com>
Sat, 14 May 2011 11:12:01 +0000
(13:12 +0200)
committer
Andy Green
<andy@warmcat.com>
Sat, 14 May 2011 11:12:01 +0000
(13:12 +0200)
static inline blows up release builds on VC
Reported-by: Michel Archambault <marchamb@matrox.com>
Signed-off-by: Andy Green <andy@warmcat.com>
lib/private-libwebsockets.h
patch
|
blob
|
history
diff --git
a/lib/private-libwebsockets.h
b/lib/private-libwebsockets.h
index
6aef84a
..
fafc0cc
100644
(file)
--- a/
lib/private-libwebsockets.h
+++ b/
lib/private-libwebsockets.h
@@
-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