1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

cygnus can't include winsock.h even though it has it, why we need to

make a different and more complicated check for when to include it
This commit is contained in:
Daniel Stenberg 2002-02-25 08:20:29 +00:00
parent 95e601e2b1
commit e4fefd088d

View File

@ -50,7 +50,7 @@
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#ifdef HAVE_WINSOCK_H
#ifdef defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__)
#include <winsock.h>
#endif