From 7dd9bc57a597da84ca4d182935dac1ad7483e542 Mon Sep 17 00:00:00 2001 From: David Galeano Date: Thu, 10 Jan 2013 10:07:16 +0800 Subject: [PATCH] Use __inline for Win32 builds. --- lib/extension-x-google-mux.h | 4 ++-- lib/private-libwebsockets.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/extension-x-google-mux.h b/lib/extension-x-google-mux.h index 4f4d397c2..a580ad685 100644 --- a/lib/extension-x-google-mux.h +++ b/lib/extension-x-google-mux.h @@ -1,7 +1,7 @@ #if 0 #ifdef WIN32 -static +static __inline #else static inline #endif @@ -12,7 +12,7 @@ void muxdebug(const char *format, ...) } #else #ifdef WIN32 -static +static __inline #else static inline #endif diff --git a/lib/private-libwebsockets.h b/lib/private-libwebsockets.h index bc55125ab..32fd2b511 100644 --- a/lib/private-libwebsockets.h +++ b/lib/private-libwebsockets.h @@ -98,7 +98,7 @@ void debug(const char *format, ...) } #else #ifdef WIN32 -static +static __inline #else static inline #endif