summaryrefslogtreecommitdiff
path: root/gcc/config/vax/netbsd.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/vax/netbsd.h')
-rwxr-xr-xgcc/config/vax/netbsd.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/gcc/config/vax/netbsd.h b/gcc/config/vax/netbsd.h
new file mode 100755
index 0000000..23f3ff5
--- /dev/null
+++ b/gcc/config/vax/netbsd.h
@@ -0,0 +1,24 @@
+#undef CPP_PREDEFINES
+#define CPP_PREDEFINES "-Dunix -Dvax -D__NetBSD__ -Asystem(unix) -Asystem(NetBSD) -Acpu(vax) -Amachine(vax)"
+
+/* Make gcc agree with <machine/ansi.h> */
+
+#undef SIZE_TYPE
+#define SIZE_TYPE "unsigned int"
+
+#undef PTRDIFF_TYPE
+#define PTRDIFF_TYPE "int"
+
+#undef WCHAR_TYPE
+#define WCHAR_TYPE "int"
+
+#undef WCHAR_UNSIGNED
+#define WCHAR_UNSIGNED 0
+
+#undef WCHAR_TYPE_SIZE
+#define WCHAR_TYPE_SIZE 32
+
+/* Until they use ELF or something that handles dwarf2 unwinds
+ and initialization stuff better. */
+#undef DWARF2_UNWIND_INFO
+