From: David Galeano Date: Thu, 10 Jan 2013 02:07:16 +0000 (+0800) Subject: Use __inline for Win32 builds. X-Git-Tag: accepted/2.0/20130307.220733~307 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=38df20c2ee57688df465385cfa84b9a2385ce953;p=profile%2Fivi%2Flibwebsockets.git Use __inline for Win32 builds. --- diff --git a/lib/extension-x-google-mux.h b/lib/extension-x-google-mux.h index 4f4d397..a580ad6 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 bc55125..32fd2b5 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