diff options
Diffstat (limited to 'readline/readline.c')
-rw-r--r-- | readline/readline.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/readline/readline.c b/readline/readline.c index 28801f1..efa0bf8 100644 --- a/readline/readline.c +++ b/readline/readline.c @@ -933,7 +933,9 @@ rl_save_state (sp) sp->macro = rl_executing_macro; sp->catchsigs = rl_catch_signals; +#if defined (SIGWINCH) sp->catchsigwinch = rl_catch_sigwinch; +#endif return (0); } @@ -967,7 +969,9 @@ rl_restore_state (sp) rl_executing_macro = sp->macro; rl_catch_signals = sp->catchsigs; +#if defined (SIGWINCH) rl_catch_sigwinch = sp->catchsigwinch; +#endif return (0); } |