From b64d956d583a64c9638bdcdc9cd2969a529dbcdc Mon Sep 17 00:00:00 2001 From: Andrew Dunstan Date: Fri, 17 Jan 2014 11:49:44 -0500 Subject: [PATCH] Prevent double macro definition of WIN32. David Rowley. --- src/include/c.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/c.h b/src/include/c.h index 774a0a1549..30b8f51cb8 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