configure: remove HAVE_WINSOCK_H definition

It's not used anymore.

Closes https://github.com/curl/curl/pull/7795
This commit is contained in:
Marcel Raad 2021-09-29 14:53:04 +02:00
parent 2bde1774ff
commit e2b3f9eaea
3 changed files with 2 additions and 103 deletions

View file

@ -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
])