aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/config/rs6000/vxworks.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/rs6000/vxworks.h b/gcc/config/rs6000/vxworks.h
index 9dabdab..51a3250 100644
--- a/gcc/config/rs6000/vxworks.h
+++ b/gcc/config/rs6000/vxworks.h
@@ -70,6 +70,12 @@ along with GCC; see the file COPYING3. If not see
builtin_define ("__PPC"); \
builtin_define ("__powerpc"); \
} \
+ \
+ /* __ppc isn't emitted by the system compiler \
+ any more but a few system headers still depend \
+ on it, as well as on __ppc__. */ \
+ builtin_define ("__ppc"); \
+ builtin_define ("__ppc__"); \
} \
\
/* Asserts for #cpu and #machine. */ \