* pa.h (WCHAR_TYPE): Use "unsigned int" by default.
(WCHAR_TYPE_SIZE): Change appropriately.
* pa-ghiux.h, pa-ghpux.h, pa-gux7.h, pa-hiux.h, pa-hpux.h,
pa-hpux7.h (WCHAR_TYPE): Delete definition.
(WCHAR_TYPE_SIZE): Likewise.
* pa-osf.h (WCHAR_TYPE): Override appropriately for OSF1.
(WCHAR_TYPE_SIZE): Likewise.
From-SVN: r6800
/* Make GCC agree with types.h. */
#undef SIZE_TYPE
#undef PTRDIFF_TYPE
-#undef WCHAR_TYPE
-#undef WCHAR_TYPE_SIZE
#define SIZE_TYPE "unsigned int"
#define PTRDIFF_TYPE "int"
-#define WCHAR_TYPE "unsigned int"
-#define WCHAR_TYPE_SIZE 32
/* HPUX doesn't use any debugging format that GCC knows about. */
#undef DBX_DEBUGGING_INFO
/* Make GCC agree with types.h. */
#undef SIZE_TYPE
#undef PTRDIFF_TYPE
-#undef WCHAR_TYPE
-#undef WCHAR_TYPE_SIZE
#define SIZE_TYPE "unsigned int"
#define PTRDIFF_TYPE "int"
-#define WCHAR_TYPE "unsigned int"
-#define WCHAR_TYPE_SIZE 32
/* HPUX doesn't use any debugging format that GCC knows about. */
#undef DBX_DEBUGGING_INFO
/* Make GCC agree with types.h. */
#undef SIZE_TYPE
#undef PTRDIFF_TYPE
-#undef WCHAR_TYPE
-#undef WCHAR_TYPE_SIZE
#define SIZE_TYPE "unsigned int"
#define PTRDIFF_TYPE "int"
-#define WCHAR_TYPE "unsigned int"
-#define WCHAR_TYPE_SIZE 32
/* HPUX doesn't use any debugging format that GCC knows about. */
#undef DBX_DEBUGGING_INFO
/* Don't default to pcc-struct-return, because gcc is the only compiler, and
we want to retain compatibility with older gcc versions. */
#define DEFAULT_PCC_STRUCT_RETURN 0
+
+/* OSF1 on the PA still uses 16bit wchar_t. */
+#undef WCHAR_TYPE
+#undef WCHAR_TYPE_SIZE
+
+#define WCHAR_TYPE "short unsigned int"
+#define WCHAR_TYPE_SIZE 16
#define SIZE_TYPE "unsigned int"
#define PTRDIFF_TYPE "int"
-#define WCHAR_TYPE "short unsigned int"
-#define WCHAR_TYPE_SIZE 16
+#define WCHAR_TYPE "unsigned int"
+#define WCHAR_TYPE_SIZE 32
/* Sometimes certain combinations of command options do not make sense
on a particular target machine. You can define a macro