mirror of
https://github.com/simh/simh.git
synced 2026-05-05 07:23:34 +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:
@@ -27,6 +27,10 @@ Copyright (c) 2005-2012, William Beech
|
||||
#include <ctype.h>
|
||||
#include "sim_defs.h" // simulator defs
|
||||
|
||||
/* Rename of global PC variable to avoid namespace conflicts on some platforms */
|
||||
|
||||
#define PC PC_Global
|
||||
|
||||
/* Memory */
|
||||
|
||||
#define MAXMEMSIZE 65536 // max memory size
|
||||
|
||||
Reference in New Issue
Block a user