Fix WS2TCPIP_INLINE in ws2tcpip.h as well

svn path=/trunk/; revision=56711
This commit is contained in:
Timo Kreuzer 2012-06-08 13:13:31 +00:00
parent 2918cce772
commit 659e65b64f

View file

@ -24,7 +24,7 @@ extern "C" {
#ifdef _MSC_VER
#define WS2TCPIP_INLINE __inline
#else
#define WS2TCPIP_INLINE static inline
#define WS2TCPIP_INLINE extern inline
#endif
/* getaddrinfo error codes */
@ -758,7 +758,7 @@ idealsendbacklogquery(
{
DWORD bytes;
return WSAIoctl(s, SIO_IDEAL_SEND_BACKLOG_QUERY,
return WSAIoctl(s, SIO_IDEAL_SEND_BACKLOG_QUERY,
NULL, 0, pISB, sizeof(*pISB), &bytes, NULL, NULL);
}
@ -771,8 +771,8 @@ idealsendbacklognotify(
{
DWORD bytes;
return WSAIoctl(s, SIO_IDEAL_SEND_BACKLOG_CHANGE,
NULL, 0, NULL, 0, &bytes,
return WSAIoctl(s, SIO_IDEAL_SEND_BACKLOG_CHANGE,
NULL, 0, NULL, 0, &bytes,
lpOverlapped, lpCompletionRoutine);
}