diff options
author | Jason Thorpe <thorpej@wasabisystems.com> | 2002-02-05 19:01:56 +0000 |
---|---|---|
committer | Jason Thorpe <thorpej@gcc.gnu.org> | 2002-02-05 19:01:56 +0000 |
commit | ad08e60e89612bdbc454835e2d7b231c37c63274 (patch) | |
tree | 8a766638f07b650d78d779234971c291528619e0 /gcc/config/netbsd.h | |
parent | 1af6141b86cb39d14b4cda2f8aa7127642e9ffba (diff) | |
download | gcc-ad08e60e89612bdbc454835e2d7b231c37c63274.zip gcc-ad08e60e89612bdbc454835e2d7b231c37c63274.tar.gz gcc-ad08e60e89612bdbc454835e2d7b231c37c63274.tar.bz2 |
netbsd.h (WCHAR_TYPE): Define.
* 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.
From-SVN: r49528
Diffstat (limited to 'gcc/config/netbsd.h')
-rw-r--r-- | gcc/config/netbsd.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/config/netbsd.h b/gcc/config/netbsd.h index fba341b..227942c 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" |