diff mbox

[mingw] : Define _WIN32

Message ID AANLkTinvV2XKfRJbgGzxGZSEuCDOvmS-YMhN52VyYxyr@mail.gmail.com
State New
Headers show

Commit Message

Kai Tietz Aug. 7, 2010, 9:52 a.m. UTC
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

Comments

Kai Tietz Aug. 8, 2010, 7:31 a.m. UTC | #1
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
diff mbox

Patch

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)