mirror of
https://github.com/simh/simh.git
synced 2026-01-11 23:52:58 +00:00
H316: Avoid name space collision for the global variable PC
When dynamic loading readline, it intenally defines/references a variable named PC which collides with a simulator defined global variable and readline doesn;'t work for SCP ommand recall and possibly interferes with simulator operation.
This commit is contained in:
parent
9f2d96b3e7
commit
b437bfc280
@ -224,4 +224,8 @@ t_stat io_set_dma (UNIT *uptr, int32 val, CONST char *cptr, void *desc);
|
||||
t_stat io_set_dmc (UNIT *uptr, int32 val, CONST char *cptr, void *desc);
|
||||
t_stat io_show_chan (FILE *st, UNIT *uptr, int32 val, CONST void *desc);
|
||||
|
||||
/* Rename of global PC variable to avoid namespace conflicts on some platforms */
|
||||
|
||||
#define PC PC_Global
|
||||
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user