Do not redefine MSWIN32 macro (WCC)
authorIvan Maidanski <ivmai@mail.ru>
Thu, 31 May 2018 08:20:34 +0000 (11:20 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 31 May 2018 08:20:34 +0000 (11:20 +0300)
* include/private/gcconfig.h [!_WIN32_WCE && !__CEGCC__
&& !__MINGW32CE__ && !_XBOX_ONE] (MSWIN32): Do not define if already
defined.

include/private/gcconfig.h

index 0148b45..d16fc03 100644 (file)
@@ -547,7 +547,9 @@ EXTERN_C_BEGIN
 #     ifdef _XBOX_ONE
 #       define MSWIN_XBOX1
 #     else
-#       define MSWIN32  /* or Win64 */
+#       ifndef MSWIN32
+#         define MSWIN32 /* or Win64 */
+#       endif
 #       if defined(WINAPI_FAMILY) && (WINAPI_FAMILY == WINAPI_FAMILY_APP)
 #         define MSWINRT_FLAVOR
 #       endif