re PR c++/39950 (__unix__ macro is not predefined on AIX platform (C and C++))

PR target/39950
        * config/rs6000/aix.h (TARGET_OS_AIX_CPP_BUILTINS): Define
        __powerpc__, __PPC__, __unix__.

From-SVN: r179612
This commit is contained in:
David Edelsohn 2011-10-06 14:05:54 +00:00 committed by David Edelsohn
parent cc49116d66
commit 7a9a6698cc
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2011-10-06 David Edelsohn <dje.gcc@gmail.com>
PR target/39950
* config/rs6000/aix.h (TARGET_OS_AIX_CPP_BUILTINS): Define
__powerpc__, __PPC__, __unix__.
2011-10-06 Michael Matz <matz@suse.de>
* i386/i386.opt (recip_mask, recip_mask_explicit,

View File

@ -97,6 +97,9 @@
{ \
builtin_define ("_IBMR2"); \
builtin_define ("_POWER"); \
builtin_define ("__powerpc__"); \
builtin_define ("__PPC__"); \
builtin_define ("__unix__"); \
builtin_define ("_AIX"); \
builtin_define ("_AIX32"); \
builtin_define ("_AIX41"); \