aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2014-01-17 11:49:44 -0500
committerAndrew Dunstan <andrew@dunslane.net>2014-01-17 11:49:44 -0500
commitb64d956d583a64c9638bdcdc9cd2969a529dbcdc (patch)
tree614c81296233d7930813a7c146b418aaf650f52f /src
parent4cba1f6bbf7c8f956c95e72c43e517a56b97665b (diff)
downloadpostgresql-b64d956d583a64c9638bdcdc9cd2969a529dbcdc.tar.gz
postgresql-b64d956d583a64c9638bdcdc9cd2969a529dbcdc.zip
Prevent double macro definition of WIN32.
David Rowley.
Diffstat (limited to 'src')
-rw-r--r--src/include/c.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/c.h b/src/include/c.h
index 774a0a15497..30b8f51cb8a 100644
--- a/src/include/c.h
+++ b/src/include/c.h
@@ -58,7 +58,7 @@
* but _WIN32 is the compiler pre-defined macro. So make sure we define
* WIN32 whenever _WIN32 is set, to facilitate standalone building.
*/
-#if defined(_WIN32)
+#if defined(_WIN32) && !defined(WIN32)
#define WIN32
#endif