mirror of
https://github.com/simh/simh.git
synced 2026-03-20 16:38:01 +00:00
Fixed build and link issues across different versions of AXP VMS.
This commit is contained in:
@@ -39,7 +39,7 @@ $ libr/replace pcap grammar
|
||||
$ cc/name=( as_is,shortened)/opt/nomember_align'opt/include=sys$disk:[] -
|
||||
inet+sys$share:sys$lib_c.tlb/lib
|
||||
$ libr/replace pcap inet
|
||||
$ cc/name=( as_is,shortened)/opt/nomember_align'opt/include=sys$disk:[] -
|
||||
$ cc/name=( as_is,shortened)/opt'opt/include=sys$disk:[] -
|
||||
nametoaddr+sys$share:sys$lib_c.tlb/lib
|
||||
$ libr/replace pcap nametoaddr
|
||||
$ cc/name=( as_is,shortened)/opt/nomember_align'opt/include=sys$disk:[] -
|
||||
@@ -57,7 +57,7 @@ $ libr/replace pcap scanner
|
||||
$ cc/name=( as_is,shortened)/opt/nomember_align'opt/include=sys$disk:[] -
|
||||
snprintf+sys$share:sys$lib_c.tlb/lib
|
||||
$ libr/replace pcap snprintf
|
||||
$ cc/name=( as_is,shortened)/opt/nomember_align'opt/include=sys$disk:[] -
|
||||
$ cc/name=( as_is,shortened)/opt/nomember_alig'opt/include=sys$disk:[] -
|
||||
pcap-vms+sys$share:sys$lib_c.tlb/lib
|
||||
$ libr/replace pcap pcap-vms
|
||||
$ exit
|
||||
|
||||
@@ -49,6 +49,7 @@
|
||||
//
|
||||
// Do not align
|
||||
//
|
||||
#pragma member_alignment save
|
||||
#pragma nomember_alignment
|
||||
typedef unsigned long u_int32;
|
||||
typedef struct _promisc_header {
|
||||
@@ -74,4 +75,5 @@ typedef struct _packet {
|
||||
unsigned char data[2048];
|
||||
} packet;
|
||||
|
||||
#pragma member_alignment restore
|
||||
#endif /* __PCAP_VMS__H */
|
||||
|
||||
@@ -184,6 +184,11 @@
|
||||
* not used;
|
||||
*/
|
||||
|
||||
#if __CRTL_VER >= 70312000
|
||||
#define HAVE_SNPRINTF
|
||||
#else
|
||||
#pragma message disable NOTINCRTL
|
||||
#endif
|
||||
|
||||
/* Define HAVE_SNPRINTF if your system already has snprintf and vsnprintf.
|
||||
*
|
||||
@@ -280,6 +285,7 @@
|
||||
|
||||
|
||||
|
||||
|
||||
/* ============================================= */
|
||||
/* NO USER SERVICABLE PARTS FOLLOWING THIS POINT */
|
||||
/* ============================================= */
|
||||
|
||||
@@ -4,6 +4,12 @@
|
||||
#define PORTABLE_SNPRINTF_VERSION_MAJOR 2
|
||||
#define PORTABLE_SNPRINTF_VERSION_MINOR 2
|
||||
|
||||
#if __CRTL_VER >= 70312000
|
||||
#define HAVE_SNPRINTF
|
||||
#else
|
||||
#pragma message disable NOTINCRTL
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SNPRINTF
|
||||
#include <stdio.h>
|
||||
#else
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user