]> 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>
Tue, 17 Jul 2018 06:02:14 +0000 (09:02 +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 bcb46437e96f7a5e3093fdc7303e295853dbbbcd..523ee95a659472001de20e5bd3032bb4d238ad94 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)