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
1 changed files with 5 additions and 0 deletions

View File

@ -45,6 +45,11 @@
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__)
#include <winsock.h>