OSDN Git Service

make wchar_t long, not unsigned short
authormeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 Jun 1997 22:17:58 +0000 (22:17 +0000)
committermeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 Jun 1997 22:17:58 +0000 (22:17 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14322 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/rs6000/sysv4.h

index 635bb32..73c09df 100644 (file)
@@ -372,11 +372,11 @@ do {                                                                      \
 
 /* Type used for wchar_t, as a string used in a declaration.  */
 #undef WCHAR_TYPE
-#define WCHAR_TYPE "short unsigned int"
+#define WCHAR_TYPE "long int"
 
 /* Width of wchar_t in bits.  */
 #undef WCHAR_TYPE_SIZE
-#define WCHAR_TYPE_SIZE 16
+#define WCHAR_TYPE_SIZE 32
 
 /* Make int foo : 8 not cause structures to be aligned to an int boundary */