Add missing part of __WCHAR_TYPE__ patch.
authorDavid Edelsohn <dje@gcc.gnu.org>
Thu, 8 Feb 2001 20:31:46 +0000 (15:31 -0500)
committerDavid Edelsohn <dje@gcc.gnu.org>
Thu, 8 Feb 2001 20:31:46 +0000 (15:31 -0500)
From-SVN: r39548

gcc/config/rs6000/aix51.h

index 363fb5faf6f1698a79c90c920cbadb727bad356e..fd679b9c487e9cfd0a8c29afece202c32e20fb69 100644 (file)
@@ -123,7 +123,8 @@ do {                                                                        \
    -D_XOPEN_SOURCE_EXTENDED=1                   \
    -D_LARGE_FILE_API                            \
    -D_ALL_SOURCE                                \
-   %{maix64: -D__64BIT__ -D_ARCH_PPC -D__WCHAR_TYPE="unsigned int" \
+   %{!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}\