X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=libiberty%2Fconfig.h-vms;h=d923ecb3cf262cabd20ba86d3019b0a3417c3a94;hb=a6b71f422b2a4c1dae639064945bc8697528c57b;hp=ccac6a2bcc7335ebf5959507ef6d0d5d94445c77;hpb=caa846806ee3a4e9e36eb93f90214534aa8cd766;p=deliverable%2Fbinutils-gdb.git diff --git a/libiberty/config.h-vms b/libiberty/config.h-vms index ccac6a2bcc..d923ecb3cf 100644 --- a/libiberty/config.h-vms +++ b/libiberty/config.h-vms @@ -1,13 +1,14 @@ -#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 + +/* intptr_t is defined in inttypes.h! */ +#define intptr_t __int64 +/* Cheat: use vms builtin alloca. */ +#ifdef __DECC +#define C_alloca(x) __ALLOCA(x) +#endif