mirror of
https://github.com/simh/simh.git
synced 2026-04-28 04:44:55 +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:
@@ -54,6 +54,10 @@
|
||||
|
||||
#include "sim_defs.h"
|
||||
|
||||
/* Rename of global PC variable to avoid namespace conflicts on some platforms */
|
||||
|
||||
#define PC PC_Global
|
||||
|
||||
#if defined(USE_INT64) || defined(USE_ADDR64)
|
||||
#error "PDP-1 does not support 64b values!"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user