summaryrefslogtreecommitdiff
path: root/lib/config-win32.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-09-29 08:16:42 +0200
committerDaniel Stenberg <daniel@haxx.se>2021-09-29 10:42:49 +0200
commit180180a44d8e7a54b772af02eb90e0eab1c61d37 (patch)
treedc6559efeb0d2f911b8c781b4ab8499536136ec0 /lib/config-win32.h
parent12246eddc5d844efec16141d259092fd69f89bc4 (diff)
downloadcurl-180180a44d8e7a54b772af02eb90e0eab1c61d37.tar.gz
Revert "build: remove checks for WinSock 1"
Due to CI issues This reverts commit c2ea04f92b00b6271627cb218647527b5a50f2fc. Closes #7790
Diffstat (limited to 'lib/config-win32.h')
-rw-r--r--lib/config-win32.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/config-win32.h b/lib/config-win32.h
index 89593a815..b6a6ced59 100644
--- a/lib/config-win32.h
+++ b/lib/config-win32.h
@@ -132,6 +132,9 @@
/* Define if you have the <windows.h> header file. */
#define HAVE_WINDOWS_H 1
+/* Define if you have the <winsock.h> header file. */
+#define HAVE_WINSOCK_H 1
+
/* Define if you have the <winsock2.h> header file. */
#ifndef __SALFORDC__
#define HAVE_WINSOCK2_H 1
@@ -378,6 +381,7 @@
#ifdef USE_LWIPSOCK
# undef USE_WINSOCK
+# undef HAVE_WINSOCK_H
# undef HAVE_WINSOCK2_H
# undef HAVE_WS2TCPIP_H
# undef HAVE_ERRNO_H
@@ -408,6 +412,7 @@
#undef byte
#undef word
#undef USE_WINSOCK
+ #undef HAVE_WINSOCK_H
#undef HAVE_WINSOCK2_H
#undef HAVE_WS2TCPIP_H
#define HAVE_GETADDRINFO