1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

Chris Lewis mentioned that he doesn't get WIN32 defined, only _WIN32 so we

make an adjustment to catch this.
This commit is contained in:
Daniel Stenberg 2003-05-26 07:57:53 +00:00
parent 4ed28be75a
commit 35a84ad576

View File

@ -45,6 +45,11 @@
file descriptors simultaneous easily. file descriptors simultaneous easily.
*/ */
#if defined(_WIN32) && !defined(WIN32)
/* Chris Lewis mentioned that he doesn't get WIN32 defined, only _WIN32
so we make this like adjustment to catch this. */
#define WIN32 1
#endif
#if defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__) #if defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__)
#include <winsock.h> #include <winsock.h>