From 75e5676365d7741189e1240ceb2d977d7952d96e Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Thu, 31 May 2018 11:20:34 +0300 Subject: [PATCH] Do not redefine MSWIN32 macro (WCC) (a cherry-pick of commit 69c0495c from 'master') * include/private/gcconfig.h [!_WIN32_WCE && !__CEGCC__ && !__MINGW32CE__] (MSWIN32): Do not define if already defined. --- include/private/gcconfig.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h index bcb46437..523ee95a 100644 --- a/include/private/gcconfig.h +++ b/include/private/gcconfig.h @@ -463,7 +463,9 @@ # else # define I386 # endif -# define MSWIN32 /* or Win64 */ +# ifndef MSWIN32 +# define MSWIN32 /* or Win64 */ +# endif # define mach_type_known # endif # if defined(_MSC_VER) && defined(_M_IA64) -- 2.40.0