Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dunstan2014-01-17 16:49:44 +0000
committerAndrew Dunstan2014-01-17 16:49:44 +0000
commitb64d956d583a64c9638bdcdc9cd2969a529dbcdc (patch)
tree614c81296233d7930813a7c146b418aaf650f52f
parent4cba1f6bbf7c8f956c95e72c43e517a56b97665b (diff)
Prevent double macro definition of WIN32.
David Rowley.
-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