mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
Prevent double macro definition of WIN32.
David Rowley.
This commit is contained in:
parent
4cba1f6bbf
commit
b64d956d58
@ -58,7 +58,7 @@
|
|||||||
* but _WIN32 is the compiler pre-defined macro. So make sure we define
|
* but _WIN32 is the compiler pre-defined macro. So make sure we define
|
||||||
* WIN32 whenever _WIN32 is set, to facilitate standalone building.
|
* WIN32 whenever _WIN32 is set, to facilitate standalone building.
|
||||||
*/
|
*/
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32) && !defined(WIN32)
|
||||||
#define WIN32
|
#define WIN32
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user