From 92aea29a300cf578027b52ea65adf6c1fb75efa6 Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Wed, 4 Dec 2002 11:06:17 +0000
Subject: [PATCH] make WIN32 defined for Borland properly, as told by Alexander
 J. Oss

---
 lib/setup.h | 5 ++---
 src/setup.h | 5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/lib/setup.h b/lib/setup.h
index 1bc3235753..69f4227d1d 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 5cf5e678dd..79539a6939 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
 
-- 
GitLab