mirror of
https://github.com/curl/curl.git
synced 2026-08-24 16:13:43 +03:00
Define WIN32 when build target is Win32 API.
This also defines it for WinCE even though it is a subset of WIN32.
This commit is contained in:
parent
b99a61c5b0
commit
32195c673d
6 changed files with 36 additions and 24 deletions
10
src/setup.h
10
src/setup.h
|
|
@ -25,13 +25,11 @@
|
|||
|
||||
#define CURL_NO_OLDIES
|
||||
|
||||
#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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue