diff options
author | Paul Smith <psmith@gnu.org> | 1999-07-21 16:06:18 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 1999-07-21 16:06:18 +0000 |
commit | c69d4c95bf2027252e13e4dec3fb2dcfd10fc4e7 (patch) | |
tree | d27151a5249aad92d389f8da736210d33ee4ddc4 /config.h-vms.template | |
parent | 588da9812e055fbceb900c350ab406f97eccbf37 (diff) | |
download | gunmake-c69d4c95bf2027252e13e4dec3fb2dcfd10fc4e7.tar.gz |
* Installed VMS fixes.
Diffstat (limited to 'config.h-vms.template')
-rw-r--r-- | config.h-vms.template | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/config.h-vms.template b/config.h-vms.template index dca4bda..4effc66 100644 --- a/config.h-vms.template +++ b/config.h-vms.template @@ -123,8 +123,12 @@ with this defined. */ /* #undef _POSIX_1_SOURCE */ +#include <sys/types.h> +#include <ctype.h> +#include <signal.h> + /* Define if you need to in order for stat and other things to work. */ -/* #undef _POSIX_SOURCE */ +#define _POSIX_C_SOURCE 1 /* Define as the return type of signal handlers (int or void). */ #define RETSIGTYPE void @@ -321,6 +325,14 @@ #define INCLUDEDIR "sys$sysroot:[syslib]" #define LIBDIR "sys$sysroot:[syslib]" +/* Avoid broken RTL functions on OpenVMS */ +#include <unixlib.h> +#define getopt gnu_getopt +#define optarg gnu_optarg +#define optopt gnu_optopt +#define optind gnu_optind +#define opterr gnu_opterr + #if defined (__cplusplus) || (defined (__STDC__) && __STDC__) #undef PARAMS #define PARAMS(protos) protos |