summaryrefslogtreecommitdiff
path: root/chromium/third_party/libxml/src/include/wsockcompat.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2023-01-11 13:41:06 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2023-01-11 14:02:23 +0000
commit01e89433adf2d5575b2089716217299519a9ce15 (patch)
tree5615c6e52f2016c227e6d936cb5005ee6f15418a /chromium/third_party/libxml/src/include/wsockcompat.h
parent2b11b39a6627d8c71636227374dd8f8ea78c3e6a (diff)
downloadqtwebengine-chromium-01e89433adf2d5575b2089716217299519a9ce15.tar.gz
BASELINE: Update Chromium to 108.0.5359.181
Change-Id: Iae2b9d190e7789ad5556dbf4c59498e05ce6e5d2 Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/453305 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'chromium/third_party/libxml/src/include/wsockcompat.h')
-rw-r--r--chromium/third_party/libxml/src/include/wsockcompat.h7
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