diff options
Diffstat (limited to 'chromium/third_party/libxml/src/include/wsockcompat.h')
-rw-r--r-- | chromium/third_party/libxml/src/include/wsockcompat.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/chromium/third_party/libxml/src/include/wsockcompat.h b/chromium/third_party/libxml/src/include/wsockcompat.h index 85b9e7d5689..141de0c6405 100644 --- a/chromium/third_party/libxml/src/include/wsockcompat.h +++ b/chromium/third_party/libxml/src/include/wsockcompat.h @@ -25,11 +25,14 @@ /* Check if ws2tcpip.h is a recent version which provides getaddrinfo() */ #if defined(GetAddrInfo) #include <wspiapi.h> -#define HAVE_GETADDRINFO +#ifndef SUPPORT_IP6 + #define SUPPORT_IP6 +#endif #endif -#undef XML_SOCKLEN_T +#ifndef XML_SOCKLEN_T #define XML_SOCKLEN_T int +#endif #ifndef ECONNRESET #define ECONNRESET WSAECONNRESET |