make WIN32 defined for Borland properly, as told by Alexander J. Oss

This commit is contained in:
Daniel Stenberg 2002-12-04 11:06:17 +00:00
parent e1c01af929
commit 92aea29a30
2 changed files with 4 additions and 6 deletions

View File

@ -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

View File

@ -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