diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-12-04 11:06:17 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-12-04 11:06:17 +0000 |
commit | 92aea29a300cf578027b52ea65adf6c1fb75efa6 (patch) | |
tree | 106a9eade08acd855645f7d1a87310eb82a35069 | |
parent | e1c01af929bb24375d72ecb264714d2f49216612 (diff) | |
download | curl-92aea29a300cf578027b52ea65adf6c1fb75efa6.tar.gz |
make WIN32 defined for Borland properly, as told by Alexander J. Oss
-rw-r--r-- | lib/setup.h | 5 | ||||
-rw-r--r-- | src/setup.h | 5 |
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 |