aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/setup.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/setup.h b/src/setup.h
index c66b8e143..41ba43084 100644
--- a/src/setup.h
+++ b/src/setup.h
@@ -25,13 +25,11 @@
#define CURL_NO_OLDIES
-#if !defined(WIN32) && defined(__WIN32__)
-/* Borland fix */
-#define WIN32
-#endif
+/*
+ * Define WIN32 when build target is Win32 API
+ */
-#if !defined(WIN32) && defined(_WIN32)
-/* VS2005 on x64 fix */
+#if (defined(_WIN32) || defined(__WIN32__)) && !defined(WIN32)
#define WIN32
#endif