summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorMarcel Raad <Marcel.Raad@teamviewer.com>2021-09-29 14:53:04 +0200
committerMarcel Raad <Marcel.Raad@teamviewer.com>2021-09-29 15:54:40 +0200
commite2b3f9eaea6d1c8e549e3e1cf9c6281a6eba1bb6 (patch)
treed75801bf227d2e52dca72fefa75574ca227fa186 /m4
parent2bde1774fff9e88958238c0ff1dec0de76f97f8b (diff)
downloadcurl-e2b3f9eaea6d1c8e549e3e1cf9c6281a6eba1bb6.tar.gz
configure: remove `HAVE_WINSOCK_H` definition
It's not used anymore. Closes https://github.com/curl/curl/pull/7795
Diffstat (limited to 'm4')
-rw-r--r--m4/curl-functions.m47
1 files changed, 1 insertions, 6 deletions
diff --git a/m4/curl-functions.m4 b/m4/curl-functions.m4
index d3ffaea9f..b21bbd1e2 100644
--- a/m4/curl-functions.m4
+++ b/m4/curl-functions.m4
@@ -486,7 +486,7 @@ curl_includes_unistd="\
dnl CURL_INCLUDES_WINSOCK2
dnl -------------------------------------------------
dnl Set up variable with list of headers that must be
-dnl included when winsock(2).h is to be included.
+dnl included when winsock2.h is to be included.
AC_DEFUN([CURL_INCLUDES_WINSOCK2], [
curl_includes_winsock2="\
@@ -498,15 +498,10 @@ curl_includes_winsock2="\
# include <windows.h>
# ifdef HAVE_WINSOCK2_H
# include <winsock2.h>
-# else
-# ifdef HAVE_WINSOCK_H
-# include <winsock.h>
-# endif
# endif
#endif
/* includes end */"
CURL_CHECK_HEADER_WINDOWS
- CURL_CHECK_HEADER_WINSOCK
CURL_CHECK_HEADER_WINSOCK2
])