changes to build with VSI C compiler

The changes from past OpenVMS compilers are #ifdef'd VMS9
This commit is contained in:
nhmall
2023-05-22 14:43:10 -04:00
parent 2dfe4c2a27
commit 68b8e84aa3
10 changed files with 145 additions and 9 deletions

View File

@@ -4,6 +4,13 @@
#include "config.h"
#undef exit
#ifdef VMS9
#include <descrip.h>
#include <lib$routines.h>
#include <starlet.h>
#endif
#include <ssdef.h>
#include <stsdef.h>
@@ -13,7 +20,10 @@ ATTRNORETURN void vms_exit(int);
ATTRNORETURN void vms_abort(void);
/* first arg should be unsigned long but <lib$routines.h> has unsigned int */
#ifndef VMS9
extern void VDECL(lib$signal, (unsigned, ...));
#endif
/* terminate, converting Unix-style exit code into VMS status code */
ATTRNORETURN void