aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/curl/multi.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/curl/multi.h b/include/curl/multi.h
index 60291a6f0..6e5c933b9 100644
--- a/include/curl/multi.h
+++ b/include/curl/multi.h
@@ -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>