aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-05-26 07:57:53 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-05-26 07:57:53 +0000
commit35a84ad5767689bc6f89ebac87cf862054060391 (patch)
tree3f4445fe79eda89522bbe2ab27e69b7ca77698dd
parent4ed28be75ab8fbf31c4916997be28f125650b58a (diff)
Chris Lewis mentioned that he doesn't get WIN32 defined, only _WIN32 so we
make an adjustment to catch this.
-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>