]> granicus.if.org Git - gc/commitdiff
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>
Sat, 7 Jul 2018 12:11:42 +0000 (15:11 +0300)
(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

index 30d4ef316d454e020b5d78840b8b6b2eb65e8703..ea3e6f16815955316fd2291ef42d5c7804db9c71 100644 (file)
 #     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)