1
0
mirror of https://github.com/open-simh/simh.git synced 2026-04-25 20:01:33 +00:00

Makefile and readline fix and additional compiler nits missed earlier

This commit is contained in:
Mark Pizzolato
2012-03-25 15:08:18 -07:00
parent 66c264d678
commit 8ebabd5f69
18 changed files with 83 additions and 70 deletions

2
scp.c
View File

@@ -3463,6 +3463,8 @@ if (!initialized) {
handle = dlopen("libreadline." __STR(HAVE_DLOPEN), RTLD_NOW|RTLD_GLOBAL);
if (!handle)
handle = dlopen("libreadline." __STR(HAVE_DLOPEN) ".6", RTLD_NOW|RTLD_GLOBAL);
if (!handle)
handle = dlopen("libreadline." __STR(HAVE_DLOPEN) ".5", RTLD_NOW|RTLD_GLOBAL);
if (handle) {
p_readline = dlsym(handle, "readline");
p_add_history = dlsym(handle, "add_history");