Skip to content
Snippets Groups Projects
Commit e4fefd08 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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
parent 95e601e2
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment