From patchwork Sat Aug 7 09:52:58 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [mingw] : Define _WIN32 Date: Fri, 06 Aug 2010 23:52:58 -0000 From: Kai Tietz X-Patchwork-Id: 61175 Message-Id: To: GCC Patches Cc: Danny Smith , Dave Korn Hello, The define _WIN64 shouldn't be defined expanded. ChangeLog 2010-08-07 Kai Tietz * config/i386/mingw32.h (EXTRA_OS_CPP_BUILTINS): Define _WIN64 not expanded. I will apply this patch in a couple of hours, if there aren't any objections. Regards, Kai Index: gcc/gcc/config/i386/mingw32.h =================================================================== --- gcc.orig/gcc/config/i386/mingw32.h 2010-07-20 19:52:41.000000000 +0200 +++ gcc/gcc/config/i386/mingw32.h 2010-08-07 11:45:40.152187500 +0200 @@ -42,7 +42,7 @@ { \ builtin_define ("__MINGW64__"); \ builtin_define_std ("WIN64"); \ - builtin_define_std ("_WIN64"); \ + builtin_define ("_WIN64"); \ } \ } \ while (0)