aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-12-04 11:06:17 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-12-04 11:06:17 +0000
commit92aea29a300cf578027b52ea65adf6c1fb75efa6 (patch)
tree106a9eade08acd855645f7d1a87310eb82a35069
parente1c01af929bb24375d72ecb264714d2f49216612 (diff)
make WIN32 defined for Borland properly, as told by Alexander J. Oss
-rw-r--r--lib/setup.h5
-rw-r--r--src/setup.h5
2 files changed, 4 insertions, 6 deletions
diff --git a/lib/setup.h b/lib/setup.h
index 1bc323575..69f4227d1 100644
--- a/lib/setup.h
+++ b/lib/setup.h
@@ -35,9 +35,8 @@
#define CURL_DISABLE_GOPHER
#endif
-#if !defined(WIN32) && defined(_WIN32)
-/* This _might_ be a good Borland fix. Please report whether this works or
- not! */
+#if !defined(WIN32) && defined(__WIN32__)
+/* This should be a good Borland fix. Alexander J. Oss told us! */
#define WIN32
#endif
diff --git a/src/setup.h b/src/setup.h
index 5cf5e678d..79539a693 100644
--- a/src/setup.h
+++ b/src/setup.h
@@ -25,9 +25,8 @@
#include <stdio.h>
-#if !defined(WIN32) && defined(_WIN32)
-/* This _might_ be a good Borland fix. Please report whether this works or
- not! */
+#if !defined(WIN32) && defined(__WIN32__)
+/* Borland fix */
#define WIN32
#endif