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

@@ -11,6 +11,12 @@ unsigned long enable_broadcast_trapping(void);
unsigned long disable_broadcast_trapping(void);
struct mail_info *parse_next_broadcast(void);
#ifdef VMS9
#include <descrip.h>
#include <lib$routines.h>
#include <starlet.h>
#endif
#ifdef MAIL
#include "wintype.h"
#include "winprocs.h"
@@ -39,8 +45,13 @@ extern size_t strspn(const char *, const char *);
#ifndef __DECC
extern int VDECL(sscanf, (const char *, const char *, ...));
#endif
#ifdef VMS9
#include <smg$routines.h>
#else
extern unsigned long smg$create_pasteboard(), smg$get_broadcast_message(),
smg$set_broadcast_trapping(), smg$disable_broadcast_trapping();
#endif
extern volatile int broadcasts; /* defining declaration in mail.c */