]> granicus.if.org Git - python/commitdiff
Issue #23735: Avoid sighandler_t Gnu-ism
authorMartin Panter <vadmium+py@gmail.com>
Sun, 3 Apr 2016 08:00:49 +0000 (08:00 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Sun, 3 Apr 2016 08:00:49 +0000 (08:00 +0000)
Modules/readline.c

index 82daa52b2d50c106f20521436cbdce121d543b32..be57f8f503276dd1e347ef0d1e31085aca0aa984 100644 (file)
@@ -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)