]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
config-win32ce: enable WinSock 2
authorMarcel Raad <Marcel.Raad@teamviewer.com>
Mon, 27 Sep 2021 08:36:06 +0000 (10:36 +0200)
committerMarcel Raad <Marcel.Raad@teamviewer.com>
Tue, 28 Sep 2021 17:29:30 +0000 (19:29 +0200)
WinSock 2.2 is supported by Windows CE .NET 4.1 (from 2002, out of
support since 2013).

Ref: https://docs.microsoft.com/en-us/previous-versions/windows/embedded/ms899586(v=msdn.10)

Closes https://github.com/curl/curl/pull/7778

lib/config-win32ce.h

index 2cf30e9b96adc212e87d59a9fdb192b17b50b986..889028b269c6c8f5eb488d0c281b5f4b3b1408b3 100644 (file)
 #define HAVE_WINDOWS_H 1
 
 /* Define if you have the <winsock2.h> header file.  */
-/* #define HAVE_WINSOCK2_H 1 */
+#define HAVE_WINSOCK2_H 1
 
 /* Define if you have the <ws2tcpip.h> header file.  */
-/* #define HAVE_WS2TCPIP_H 1 */
+#define HAVE_WS2TCPIP_H 1
 
 /* ---------------------------------------------------------------- */
 /*                        OTHER HEADER INFO                         */