diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/setup.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/setup.h b/lib/setup.h index 058af7ac4..b08120ce3 100644 --- a/lib/setup.h +++ b/lib/setup.h @@ -32,13 +32,11 @@ #define CURL_DISABLE_FILE #endif /* HTTP_ONLY */ -#if !defined(WIN32) && defined(__WIN32__) -/* Borland fix */ -#define WIN32 -#endif +/* + * Define WIN32 when build target is Win32 API + */ -#if !defined(WIN32) && defined(_WIN32) -/* VS2005 on x64 fix */ +#if (defined(_WIN32) || defined(__WIN32__)) && !defined(WIN32) #define WIN32 #endif |