1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-16 06:25:03 -05:00

LWIP: don't consider HAVE_ERRNO_H to be winsock

The check for Winsock definition was a bit too broad

Bug: http://curl.haxx.se/mail/lib-2012-03/0046.html
This commit is contained in:
Daniel Stenberg 2012-03-08 21:25:35 +01:00
parent 4ee2df4b46
commit c55a0809bb

View File

@ -623,7 +623,6 @@ int netware_init(void);
#if defined(__LWIP_OPT_H__) #if defined(__LWIP_OPT_H__)
# if defined(SOCKET) || \ # if defined(SOCKET) || \
defined(USE_WINSOCK) || \ defined(USE_WINSOCK) || \
defined(HAVE_ERRNO_H) || \
defined(HAVE_WINSOCK_H) || \ defined(HAVE_WINSOCK_H) || \
defined(HAVE_WINSOCK2_H) || \ defined(HAVE_WINSOCK2_H) || \
defined(HAVE_WS2TCPIP_H) defined(HAVE_WS2TCPIP_H)