From ed06e8fa50c0428a57dd4e75f9a05962db68a43e Mon Sep 17 00:00:00 2001 From: Martin Panter Date: Sun, 3 Apr 2016 08:00:49 +0000 Subject: [PATCH] Issue #23735: Avoid sighandler_t Gnu-ism --- Modules/readline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/readline.c b/Modules/readline.c index 50b138d3f9..0a00c9f26c 100644 --- a/Modules/readline.c +++ b/Modules/readline.c @@ -819,7 +819,7 @@ on_completion_display_matches_hook(char **matches, #ifdef HAVE_RL_RESIZE_TERMINAL static volatile sig_atomic_t sigwinch_received; -static sighandler_t sigwinch_ohandler; +static PyOS_sighandler_t sigwinch_ohandler; static void readline_sigwinch_handler(int signum) -- 2.50.1