summaryrefslogtreecommitdiffstats
path: root/gcc/config
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-12 21:27:54 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-12 21:27:54 +0000
commit4e79e66c21557d5b54d6c945d59f8c18c6dbefce (patch)
tree6048f3b5f5e1ba5f1cb4e335e8bb37a2e7d0acb7 /gcc/config
parent8f2ba9c904184e48b899c79dd538c4e2a13d6081 (diff)
downloadppe42-gcc-4e79e66c21557d5b54d6c945d59f8c18c6dbefce.tar.gz
ppe42-gcc-4e79e66c21557d5b54d6c945d59f8c18c6dbefce.zip
* rs6000/aix51.h (CPP_SPEC, CPLUSPLUS_CPP_SPEC): Fix typo in
__WCHAR_TYPE__ definition. (WCHAR_TYPE_SIZE): #undef before #define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40428 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/rs6000/aix51.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/gcc/config/rs6000/aix51.h b/gcc/config/rs6000/aix51.h
index fd679b9c487..da6361c1615 100644
--- a/gcc/config/rs6000/aix51.h
+++ b/gcc/config/rs6000/aix51.h
@@ -106,13 +106,13 @@ do { \
-D_AIX -D_AIX32 -D_AIX41 -D_AIX43 -D_AIX51 -Asystem=unix -Asystem=aix"
#undef CPP_SPEC
-#define CPP_SPEC "%{posix: -D_POSIX_SOURCE} \
- %{ansi: -D_ANSI_C_SOURCE} \
- %{!maix64: -D__WCHAR_TYPE__="short unsigned int"} \
- %{maix64: -D__64BIT__ -D_ARCH_PPC -D__WCHAR_TYPE__="unsigned int" \
- -D__LONG_MAX__=9223372036854775807L} \
- %{mpe: -I/usr/lpp/ppe.poe/include} \
- %{pthread: -D_THREAD_SAFE} \
+#define CPP_SPEC "%{posix: -D_POSIX_SOURCE}\
+ %{ansi: -D_ANSI_C_SOURCE}\
+ %{!maix64: -D__WCHAR_TYPE__=short\\ unsigned\\ int}\
+ %{maix64: -D__64BIT__ -D_ARCH_PPC -D__LONG_MAX__=9223372036854775807L \
+ -D__WCHAR_TYPE__=unsigned\\ int}\
+ %{mpe: -I/usr/lpp/ppe.poe/include}\
+ %{pthread: -D_THREAD_SAFE}\
%(cpp_cpu)"
/* The GNU C++ standard library requires that these macros be
@@ -123,9 +123,9 @@ do { \
-D_XOPEN_SOURCE_EXTENDED=1 \
-D_LARGE_FILE_API \
-D_ALL_SOURCE \
- %{!maix64: -D__WCHAR_TYPE__="short unsigned int"} \
- %{maix64: -D__64BIT__ -D_ARCH_PPC -D__WCHAR_TYPE__="unsigned int" \
- -D__LONG_MAX__=9223372036854775807L} \
+ %{!maix64: -D__WCHAR_TYPE__=short\\ unsigned\\ int}\
+ %{maix64: -D__64BIT__ -D_ARCH_PPC -D__LONG_MAX__=9223372036854775807L \
+ -D__WCHAR_TYPE__=unsigned\\ int}\
%{mpe: -I/usr/lpp/ppe.poe/include}\
%{pthread: -D_THREAD_SAFE}\
%(cpp_cpu)"
@@ -213,6 +213,7 @@ do { \
/* __WCHAR_TYPE__ is dynamic, so do not define it statically. */
#define NO_BUILTIN_WCHAR_TYPE
#undef WCHAR_TYPE
+#undef WCHAR_TYPE_SIZE
/* Width of wchar_t in bits. */
#define WCHAR_TYPE_SIZE (!TARGET_64BIT ? 16 : 32)
OpenPOWER on IntegriCloud