summaryrefslogtreecommitdiff
path: root/gcc/config/netbsd.h
diff options
context:
space:
mode:
authorthorpej <thorpej@138bc75d-0d04-0410-961f-82ee72b054a4>2002-02-05 19:01:56 +0000
committerthorpej <thorpej@138bc75d-0d04-0410-961f-82ee72b054a4>2002-02-05 19:01:56 +0000
commit788aa53e052f6d5e34e06571e26686222d40c5ad (patch)
tree8a766638f07b650d78d779234971c291528619e0 /gcc/config/netbsd.h
parent28c50778cbf3a1d1433ff8771ca3799acb9c7c28 (diff)
downloadgcc-788aa53e052f6d5e34e06571e26686222d40c5ad.tar.gz
* config/netbsd.h (WCHAR_TYPE): Define.
(WCHAR_TYPE_SIZE): Ditto. (WINT_TYPE): Ditto. * config/alpha/netbsd.h (WCHAR_TYPE): Remove. (WCHAR_UNSIGNED): Ditto. (WCHAR_TYPE_SIZE): Ditto. (WINT_TYPE): Ditto. * config/arm/netbsd.h: Likewise. * config/i386/netbsd-elf.h: Likewise. * config/i386/netbsd.h: Likewise. * config/m68k/netbsd-elf.h: Likewise. * config/m68k/netbsd.h: Likewise. * config/ns32k/netbsd.h: Likewise. * config/sparc/netbsd.h: Likewise. * config/vax/netbsd.: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49528 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/netbsd.h')
-rw-r--r--gcc/config/netbsd.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/config/netbsd.h b/gcc/config/netbsd.h
index fba341bc0cb..227942cd490 100644
--- a/gcc/config/netbsd.h
+++ b/gcc/config/netbsd.h
@@ -109,3 +109,16 @@
/* Handle #pragma weak and #pragma pack. */
#define HANDLE_SYSV_PRAGMA
+
+
+/* Define some types that are the same on all NetBSD platforms,
+ making them agree with <machine/ansi.h>. */
+
+#undef WCHAR_TYPE
+#define WCHAR_TYPE "int"
+
+#undef WCHAR_TYPE_SIZE
+#define WCHAR_TYPE_SIZE 32
+
+#undef WINT_TYPE
+#define WINT_TYPE "int"