This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch mingw]: Define _WIN32
- From: Kai Tietz <ktietz70 at googlemail dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: Danny Smith <dansmister at gmail dot com>, Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- Date: Sun, 8 Aug 2010 09:31:01 +0200
- Subject: Re: [patch mingw]: Define _WIN32
- References: <AANLkTinvV2XKfRJbgGzxGZSEuCDOvmS-YMhN52VyYxyr@mail.gmail.com>
2010/8/7 Kai Tietz <ktietz70@googlemail.com>:
> 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
>
> --
> |? (\_/) This is Bunny. Copy and paste
> | (='.'=) Bunny into your signature to help
> | (")_(") him gain world domination
>
> 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)
>
Applied at revision 162994.
Kai
--
|? (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination