aix51.h (CPP_SPEC, [...]): Fix typo in __WCHAR_TYPE__ definition.

* rs6000/aix51.h (CPP_SPEC, CPLUSPLUS_CPP_SPEC): Fix typo in
        __WCHAR_TYPE__ definition.
        (WCHAR_TYPE_SIZE): #undef before #define.

From-SVN: r40428
This commit is contained in:
David Edelsohn 2001-03-12 21:27:54 +00:00 committed by David Edelsohn
parent 981a4c34ba
commit ba8afff635
2 changed files with 17 additions and 10 deletions

View File

@ -1,3 +1,9 @@
2001-03-12 David Edelsohn <edelsohn@gnu.org>
* rs6000/aix51.h (CPP_SPEC, CPLUSPLUS_CPP_SPEC): Fix typo in
__WCHAR_TYPE__ definition.
(WCHAR_TYPE_SIZE): #undef before #define.
2001-03-12 Neil Booth <neil@daikokuya.demon.co.uk>
* cppfiles.c: Update comments.

View File

@ -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)