1
0
mirror of https://github.com/simh/simh.git synced 2026-01-25 19:56:25 +00:00

ALL: Avoid name space collision for the global variable PC when readline is dynamically loaded in many simulators.

This commit is contained in:
Mark Pizzolato
2015-01-11 15:22:47 -08:00
parent f5dcb2e2e5
commit c2cef3c051
10 changed files with 40 additions and 0 deletions

View File

@@ -41,6 +41,10 @@
#include "sim_defs.h" /* simulator defns */
/* Rename of global PC variable to avoid namespace conflicts on some platforms */
#define PC PC_Global
#if defined(USE_INT64) || defined(USE_ADDR64)
#error "Interdata 16/32 does not support 64b values!"
#endif