From 28f35b24b67961626caa00dfee2c18223a05b696 Mon Sep 17 00:00:00 2001 From: Martin Panter Date: Sun, 3 Apr 2016 08:00:49 +0000 Subject: 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 82daa52..be57f8f 100644 --- a/Modules/readline.c +++ b/Modules/readline.c @@ -930,7 +930,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) -- cgit v0.12