mirror of
https://github.com/simh/simh.git
synced 2026-03-14 05:57:37 +00:00
Support for older Compaq C compilers
This commit is contained in:
@@ -187,8 +187,12 @@
|
||||
#if __CRTL_VER >= 70312000
|
||||
#define HAVE_SNPRINTF
|
||||
#else
|
||||
#ifdef __DECC_VER
|
||||
#if __DECC_VER > 60590001
|
||||
#pragma message disable NOTINCRTL
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Define HAVE_SNPRINTF if your system already has snprintf and vsnprintf.
|
||||
*
|
||||
|
||||
@@ -7,8 +7,12 @@
|
||||
#if __CRTL_VER >= 70312000
|
||||
#define HAVE_SNPRINTF
|
||||
#else
|
||||
#ifdef __DECC_VER
|
||||
#if __DECC_VER > 60590001
|
||||
#pragma message disable NOTINCRTL
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SNPRINTF
|
||||
#include <stdio.h>
|
||||
|
||||
Reference in New Issue
Block a user