mirror of
https://github.com/ksherlock/mpw.git
synced 2025-02-21 01:29:21 +00:00
solaris
This commit is contained in:
parent
9972b9e66b
commit
dd1679624c
@ -146,7 +146,7 @@ namespace {
|
|||||||
printf(" %s\n\n", s.c_str());
|
printf(" %s\n\n", s.c_str());
|
||||||
|
|
||||||
// word-align
|
// word-align
|
||||||
pc = pc + 1 & ~0x01;
|
pc = (pc + 1) & ~0x01;
|
||||||
|
|
||||||
// and possibly a zero-word after it.
|
// and possibly a zero-word after it.
|
||||||
if (Debug::ReadWord(pc) == 0x0000) pc += 2;
|
if (Debug::ReadWord(pc) == 0x0000) pc += 2;
|
||||||
@ -1225,7 +1225,13 @@ namespace {
|
|||||||
{
|
{
|
||||||
rl_readline_name = (char *)"mpw";
|
rl_readline_name = (char *)"mpw";
|
||||||
rl_attempted_completion_function = mpw_attempted_completion_function;
|
rl_attempted_completion_function = mpw_attempted_completion_function;
|
||||||
|
#if RL_READLINE_VERSION == 0x0402
|
||||||
|
/* actually libedit */
|
||||||
rl_completion_entry_function = (Function *)mpw_completion_entry_function;
|
rl_completion_entry_function = (Function *)mpw_completion_entry_function;
|
||||||
|
#else
|
||||||
|
/* gnu readline, I presume */
|
||||||
|
rl_completion_entry_function = mpw_completion_entry_function;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user