summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/aix43.h
diff options
context:
space:
mode:
authorkraai <kraai@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-10 00:33:52 +0000
committerkraai <kraai@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-10 00:33:52 +0000
commit5b2c8acb27e7823b7b34a19da0747e49a53a2a08 (patch)
tree6facea888c34905af12eb1791c9d5008e4f91e14 /gcc/config/rs6000/aix43.h
parentabcf0552f3ee8b3876f50b8eeb1ab8efc10568da (diff)
downloadgcc-5b2c8acb27e7823b7b34a19da0747e49a53a2a08.tar.gz
* config/rs6000/aix.h: Convert CPP_PREDEFINES to
TARGET_OS_CPP_BUILTINS. * config/rs6000/aix31.h: Likewise. * config/rs6000/aix41.h: Likewise. * config/rs6000/aix43.h: Likewise. * config/rs6000/aix51.h: Likewise. * config/rs6000/beos.h: Likewise. * config/rs6000/darwin.h: Likewise. * config/rs6000/eabi.h: Likewise. * config/rs6000/eabisim.h: Likewise. * config/rs6000/linux.h: Likewise. * config/rs6000/linux64.h: Likewise. * config/rs6000/lynx.h: Likewise. * config/rs6000/mach.h: Likewise. * config/rs6000/rtems.h: Likewise. * config/rs6000/sysv4.h: Likewise. * config/rs6000/vxppc.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55356 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000/aix43.h')
-rw-r--r--gcc/config/rs6000/aix43.h18
1 files changed, 15 insertions, 3 deletions
diff --git a/gcc/config/rs6000/aix43.h b/gcc/config/rs6000/aix43.h
index ddf9857d9c2..bcbfcf2b257 100644
--- a/gcc/config/rs6000/aix43.h
+++ b/gcc/config/rs6000/aix43.h
@@ -96,9 +96,21 @@ do { \
#undef ASM_DEFAULT_SPEC
#define ASM_DEFAULT_SPEC "-mcom"
-#undef CPP_PREDEFINES
-#define CPP_PREDEFINES "-D_IBMR2 -D_POWER -D_AIX -D_AIX32 -D_AIX41 -D_AIX43 \
--D_LONG_LONG -Asystem=unix -Asystem=aix"
+#undef TARGET_OS_CPP_BUILTINS
+#define TARGET_OS_CPP_BUILTINS() \
+ do \
+ { \
+ builtin_define ("_IBMR2"); \
+ builtin_define ("_POWER"); \
+ builtin_define ("_AIX"); \
+ builtin_define ("_AIX32"); \
+ builtin_define ("_AIX41"); \
+ builtin_define ("_AIX43"); \
+ builtin_define ("_LONG_LONG"); \
+ builtin_assert ("system=unix"); \
+ builtin_assert ("system=aix"); \
+ } \
+ while (0)
#undef CPP_SPEC
#define CPP_SPEC "%{posix: -D_POSIX_SOURCE}\