aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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