summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/aix43.h
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@lsd.ic.unicamp.br>2000-03-29 04:06:13 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2000-03-29 04:06:13 +0000
commitd6121128fe93baf5cf81a09a04a381eec61ad63d (patch)
tree0d115c30a2c34e7948cf5c3653ccc277bbb88e20 /gcc/config/rs6000/aix43.h
parent09b189bf69f5ac863f00890d2d83619aed76429f (diff)
downloadgcc-d6121128fe93baf5cf81a09a04a381eec61ad63d.tar.gz
aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi is given.
* config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi is given. * config/rs6000/aix43.h (CPP_SPEC): Likewise. * config/rs6000/rs6000.h (CPP_SPEC): Moved to... * config/rs6000/aix.h: then modified likewise. From-SVN: r32797
Diffstat (limited to 'gcc/config/rs6000/aix43.h')
-rw-r--r--gcc/config/rs6000/aix43.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/config/rs6000/aix43.h b/gcc/config/rs6000/aix43.h
index 3822c0a2aa3..d700a44ff97 100644
--- a/gcc/config/rs6000/aix43.h
+++ b/gcc/config/rs6000/aix43.h
@@ -105,6 +105,7 @@ do { \
#undef CPP_SPEC
#define CPP_SPEC "%{posix: -D_POSIX_SOURCE}\
+ %{ansi: -D_ANSI_C_SOURCE}\
%{maix64: -D__64BIT__ -D_ARCH_PPC}\
%{mpe: -I/usr/lpp/ppe.poe/include}\
%{mthreads: -D_THREAD_SAFE}\