Commit 35a84ad5 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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

make an adjustment to catch this.
parent 4ed28be7
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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>