Fix Readline 8.1 build on mingw
authorTom Tromey <tom@tromey.com>
Tue, 2 Mar 2021 20:42:37 +0000 (13:42 -0700)
committerTom Tromey <tom@tromey.com>
Tue, 2 Mar 2021 20:42:37 +0000 (13:42 -0700)
commit19a918553721d68a742929295d6a34ce3266d3c1
treeb8ea1ee8639de600e3d543bfd54a95581a01a15e
parentb4f26d541aa7224b70d363932e816e6e1a857633
Fix Readline 8.1 build on mingw

The mingw build fails with Readline 8.1, because sigprocmask is called
unconditionally.  This patch adds the missing check for
HAVE_POSIX_SIGNALS.

I reported this upstream here:

    https://lists.gnu.org/archive/html/bug-readline/2021-01/msg00011.html

readline/ChangeLog
2021-03-02  Tom Tromey  <tom@tromey.com>

* readline/signals.c (_rl_handle_signal): Add missing check for
HAVE_POSIX_SIGNALS.
readline/ChangeLog
readline/readline/signals.c