aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-09-28 14:03:52 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1995-09-28 14:03:52 -0400
commitef08782266a0ba1fb292a99cc03b2a6c7850bbf4 (patch)
tree08ed8ea9f70efed6616d07faca5cdc12d31aa1c7 /gcc
parentd7371761bf2468a5847e45acc7d3297b5e9df33b (diff)
downloadgcc-ef08782266a0ba1fb292a99cc03b2a6c7850bbf4.zip
gcc-ef08782266a0ba1fb292a99cc03b2a6c7850bbf4.tar.gz
gcc-ef08782266a0ba1fb292a99cc03b2a6c7850bbf4.tar.bz2
(WCHAR_{TYPE,UNSIGNED,TYPE_SIZE}): Now int.
From-SVN: r10406
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/i386/netbsd.h7
-rw-r--r--gcc/config/m68k/netbsd.h7
-rw-r--r--gcc/config/ns32k/netbsd.h1
-rw-r--r--gcc/config/sparc/netbsd.h8
4 files changed, 14 insertions, 9 deletions
diff --git a/gcc/config/i386/netbsd.h b/gcc/config/i386/netbsd.h
index 475d9b2..180ff35 100644
--- a/gcc/config/i386/netbsd.h
+++ b/gcc/config/i386/netbsd.h
@@ -22,12 +22,13 @@
#define PTRDIFF_TYPE "int"
#undef WCHAR_TYPE
-#define WCHAR_TYPE "short unsigned int"
+#define WCHAR_TYPE "int"
-#define WCHAR_UNSIGNED 1
+#undef WCHAR_UNSIGNED
+#define WCHAR_UNSIGNED 0
#undef WCHAR_TYPE_SIZE
-#define WCHAR_TYPE_SIZE 16
+#define WCHAR_TYPE_SIZE 32
#define HANDLE_SYSV_PRAGMA
diff --git a/gcc/config/m68k/netbsd.h b/gcc/config/m68k/netbsd.h
index 69a1eb0..7f057ec 100644
--- a/gcc/config/m68k/netbsd.h
+++ b/gcc/config/m68k/netbsd.h
@@ -28,12 +28,13 @@
#define PTRDIFF_TYPE "int"
#undef WCHAR_TYPE
-#define WCHAR_TYPE "short unsigned int"
+#define WCHAR_TYPE "int"
-#define WCHAR_UNSIGNED 1
+#undef WCHAR_UNSIGNED
+#define WCHAR_UNSIGNED 0
#undef WCHAR_TYPE_SIZE
-#define WCHAR_TYPE_SIZE 16
+#define WCHAR_TYPE_SIZE 32
/* Every structure or union's size must be a multiple of 2 bytes. */
diff --git a/gcc/config/ns32k/netbsd.h b/gcc/config/ns32k/netbsd.h
index e058355..53b7e86 100644
--- a/gcc/config/ns32k/netbsd.h
+++ b/gcc/config/ns32k/netbsd.h
@@ -81,6 +81,7 @@ Boston, MA 02111-1307, USA.
#undef WCHAR_TYPE
#define WCHAR_TYPE "int"
+#undef WCHAR_UNSIGNED
#define WCHAR_UNSIGNED 0
#undef WCHAR_TYPE_SIZE
diff --git a/gcc/config/sparc/netbsd.h b/gcc/config/sparc/netbsd.h
index 3e721af..ae51dda 100644
--- a/gcc/config/sparc/netbsd.h
+++ b/gcc/config/sparc/netbsd.h
@@ -18,11 +18,13 @@
#define PTRDIFF_TYPE "int"
#undef WCHAR_TYPE
-#define WCHAR_TYPE "short unsigned int"
-#define WCHAR_UNSIGNED 1
+#define WCHAR_TYPE "int"
+
+#undef WCHAR_UNSIGNED
+#define WCHAR_UNSIGNED 0
#undef WCHAR_TYPE_SIZE
-#define WCHAR_TYPE_SIZE 16
+#define WCHAR_TYPE_SIZE 32
/* This is BSD, so it wants DBX format. */