mirror of
https://github.com/open-simh/simh.git
synced 2026-05-05 07:33:56 +00:00
Avoid name space collision for the global variables PC, SP and BC when readline is dynamically loaded.
This commit is contained in:
@@ -27,9 +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 */
|
||||
/* Rename of global PC and SP variables to avoid namespace conflicts on some platforms */
|
||||
|
||||
#define PC PC_Global
|
||||
#define SP SP_Global
|
||||
|
||||
//#define DONT_USE_INTERNAL_ROM 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user