summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1995-09-28 18:03:52 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1995-09-28 18:03:52 +0000
commit3a4013f06ab9fcc9eb2f60e3f5f1d67b6b358981 (patch)
tree08ed8ea9f70efed6616d07faca5cdc12d31aa1c7 /gcc
parentc8763215c030ac7d321eef04ddd8df8ebecc3d11 (diff)
downloadgcc-3a4013f06ab9fcc9eb2f60e3f5f1d67b6b358981.tar.gz
(WCHAR_{TYPE,UNSIGNED,TYPE_SIZE}): Now int.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10406 138bc75d-0d04-0410-961f-82ee72b054a4
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 475d9b26bef..180ff3533f7 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 69a1eb08bb5..7f057ec9185 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 e0583551a88..53b7e866b13 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 3e721af781d..ae51ddac095 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. */