aboutsummaryrefslogtreecommitdiff
path: root/readline/signals.c
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2012-02-24 17:14:43 +0000
committerPierre Muller <muller@sourceware.org>2012-02-24 17:14:43 +0000
commit2387786c5a39c97f7884ba04c26cf0a909df65da (patch)
treec2bead974dc116b43d6fa3aec5b566481fcb7ef0 /readline/signals.c
parente36930bb63717e596980a9aff05ef19be999919f (diff)
downloadgdb-2387786c5a39c97f7884ba04c26cf0a909df65da.zip
gdb-2387786c5a39c97f7884ba04c26cf0a909df65da.tar.gz
gdb-2387786c5a39c97f7884ba04c26cf0a909df65da.tar.bz2
* signals.c (_rl_block_sigwinch, _rl_release_sigwinch): Add
conditional SIGWINCH around functions.
Diffstat (limited to 'readline/signals.c')
-rw-r--r--readline/signals.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/readline/signals.c b/readline/signals.c
index 6a68d78..f119691 100644
--- a/readline/signals.c
+++ b/readline/signals.c
@@ -580,6 +580,7 @@ _rl_release_sigint ()
sigint_blocked = 0;
}
+#ifdef SIGWINCH
/* Cause SIGWINCH to not be delivered until the corresponding call to
release_sigwinch(). */
void
@@ -627,6 +628,7 @@ _rl_release_sigwinch ()
sigwinch_blocked = 0;
}
+#endif /* SIGWINCH */
/* **************************************************************** */
/* */