aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2009-05-25 13:27:56 +0000
committerTristan Gingold <gingold@adacore.com>2009-05-25 13:27:56 +0000
commit56ae5eb977ae79f8555e92cb64e2f94a15f29826 (patch)
treed239b704e171f1ccc3b9826b34f1546d202a970f /libiberty/config.h-vms
parent(Fix date for): (diff)
downloadbinutils-gdb-56ae5eb977ae79f8555e92cb64e2f94a15f29826.tar.gz
binutils-gdb-56ae5eb977ae79f8555e92cb64e2f94a15f29826.tar.bz2
binutils-gdb-56ae5eb977ae79f8555e92cb64e2f94a15f29826.zip
2009-05-25 Tristan Gingold <gingold@adacore.com>
* makefile.vms: New file to compile gas on VMS. * configure.com: New file to do configuration on VMS with DCL.
Diffstat (limited to 'libiberty/config.h-vms')
-rw-r--r--libiberty/config.h-vms22
1 files changed, 10 insertions, 12 deletions
diff --git a/libiberty/config.h-vms b/libiberty/config.h-vms
index ccac6a2bcc7..d84453101e8 100644
--- a/libiberty/config.h-vms
+++ b/libiberty/config.h-vms
@@ -1,13 +1,11 @@
-#ifndef NEED_strerror
-#define NEED_strerror
-#endif
-#ifndef NEED_basename
-#define NEED_basename
-#endif
-#ifndef NEED_psignal
-#define NEED_psignal
-#endif
-#ifndef NEED_on_exit
-#define NEED_on_exit
-#endif
+/* This is -*- C -*- */
+#define HAVE_STDLIB_H 1
+#define HAVE_UNISTD_H 1
+#define HAVE_STRING_H 1
+#define HAVE_SYS_STAT_H 1
+#define HAVE_SYS_TIME_H 1
+/* Cheat: use vms builtin alloca. */
+#ifdef __DECC
+#define C_alloca(x) __ALLOCA(x)
+#endif