* Make WS2TCPIP_INLINE and MSTCPIP_INLINE static inline instead of extern inline. This way we don't run into any warnings.

svn path=/trunk/; revision=59596
This commit is contained in:
Amine Khaldi 2013-07-30 16:12:18 +00:00
parent a747c72156
commit 01ec713291
3 changed files with 3 additions and 3 deletions

View file

@ -12,7 +12,7 @@ extern "C" {
#ifdef _MSC_VER
#define MSTCPIP_INLINE __inline
#else
#define MSTCPIP_INLINE extern inline
#define MSTCPIP_INLINE static inline
#endif
#include <nldef.h>

View file

@ -13,7 +13,7 @@ extern "C" {
#ifdef _MSC_VER
#define WS2TCPIP_INLINE __inline
#else
#define WS2TCPIP_INLINE extern inline
#define WS2TCPIP_INLINE static inline
#endif
#include <in6addr.h>

View file

@ -24,7 +24,7 @@ extern "C" {
#ifdef _MSC_VER
#define WS2TCPIP_INLINE __inline
#else
#define WS2TCPIP_INLINE extern inline
#define WS2TCPIP_INLINE static inline
#endif
/* getaddrinfo error codes */