mirror of https://github.com/moparisthebest/curl
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
|
#define CURL_DISABLE_GOPHER
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(WIN32) && defined(_WIN32)
|
#if !defined(WIN32) && defined(__WIN32__)
|
||||||
/* This _might_ be a good Borland fix. Please report whether this works or
|
/* This should be a good Borland fix. Alexander J. Oss told us! */
|
||||||
not! */
|
|
||||||
#define WIN32
|
#define WIN32
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -25,9 +25,8 @@
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#if !defined(WIN32) && defined(_WIN32)
|
#if !defined(WIN32) && defined(__WIN32__)
|
||||||
/* This _might_ be a good Borland fix. Please report whether this works or
|
/* Borland fix */
|
||||||
not! */
|
|
||||||
#define WIN32
|
#define WIN32
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue