diff mbox

[AIX] Add missing macros PR39950

Message ID CAGWvnynjR0CmBgRB_Dh4-Thb66uXQp+ArUFjaOVbgCzuec+jTg@mail.gmail.com
State New
Headers show

Commit Message

David Edelsohn Oct. 6, 2011, 2:03 p.m. UTC
The appended patch adds a few macros that XLC now defines on AIX.

- David

        * config/rs6000/aix.h (TARGET_OS_AIX_CPP_BUILTINS): Define
        __powerpc__, __PPC__, __unix__.
diff mbox

Patch

Index: aix.h
===================================================================
--- aix.h       (revision 179610)
+++ aix.h       (working copy)
@@ -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");               \