1
0
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:
Mark Pizzolato
2011-06-03 09:41:00 -07:00
parent 0ad673fed3
commit ac4a6ad369
2 changed files with 8 additions and 0 deletions

View File

@@ -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.
*

View File

@@ -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>