public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [patch mingw]: Define _WIN32
@ 2010-08-07  9:53 Kai Tietz
  2010-08-08  7:31 ` Kai Tietz
  0 siblings, 1 reply; 2+ messages in thread
From: Kai Tietz @ 2010-08-07  9:53 UTC (permalink / raw)
  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

-- 
|  (\_/) 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)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch mingw]: Define _WIN32
  2010-08-07  9:53 [patch mingw]: Define _WIN32 Kai Tietz
@ 2010-08-08  7:31 ` Kai Tietz
  0 siblings, 0 replies; 2+ messages in thread
From: Kai Tietz @ 2010-08-08  7:31 UTC (permalink / raw)
  To: GCC Patches; +Cc: Danny Smith, Dave Korn

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-08-08  7:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-07  9:53 [patch mingw]: Define _WIN32 Kai Tietz
2010-08-08  7:31 ` Kai Tietz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).