aboutsummaryrefslogtreecommitdiff
path: root/readline/signals.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2000-03-15 11:59:45 +0000
committerEli Zaretskii <eliz@gnu.org>2000-03-15 11:59:45 +0000
commita66f60a2b10e389ea5629bbaaf80d59810fcf224 (patch)
treec8fa76b93361aa85e429f3b184701b1159f6a679 /readline/signals.c
parent410913b1c5b31c96552bccda8550cbb7b1d23694 (diff)
downloadgdb-a66f60a2b10e389ea5629bbaaf80d59810fcf224.zip
gdb-a66f60a2b10e389ea5629bbaaf80d59810fcf224.tar.gz
gdb-a66f60a2b10e389ea5629bbaaf80d59810fcf224.tar.bz2
[__GO32__]: Don't undef HANDLE_SIGNALS for DJGPP v2.x.
Don't declare sigwinch_set_flag if SIGWINCH is undefined.
Diffstat (limited to 'readline/signals.c')
-rw-r--r--readline/signals.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/readline/signals.c b/readline/signals.c
index 3a34432..40e0912 100644
--- a/readline/signals.c
+++ b/readline/signals.c
@@ -40,9 +40,9 @@
# include <sys/ioctl.h>
#endif /* GWINSZ_IN_SYS_IOCTL */
-#if defined (__GO32__)
+#if defined (__GO32__) && !defined(__DJGPP__)
# undef HANDLE_SIGNALS
-#endif /* __GO32__ */
+#endif /* __GO32__ && !__DJGPP__ */
#if defined (HANDLE_SIGNALS)
/* Some standard library routines. */
@@ -93,7 +93,9 @@ int rl_catch_sigwinch = 1;
#endif
static int signals_set_flag;
+#ifdef SIGWINCH
static int sigwinch_set_flag;
+#endif
/* **************************************************************** */
/* */