[patch mingw]: Define _WIN32

Kai Tietz ktietz70@googlemail.com
Sat Aug 7 09:53:00 GMT 2010


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)



More information about the Gcc-patches mailing list