mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
make WIN32 defined for Borland properly, as told by Alexander J. Oss
This commit is contained in:
parent
e1c01af929
commit
92aea29a30
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user