]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - ncurses/tty/lib_tstp.c
ncurses 6.3 - patch 20221015
[ncurses.git] / ncurses / tty / lib_tstp.c
index ec086ca730c8dce69ec4b845d6f62ef0d0cf2cb4..f228f72be84dcb08075cd4bd43d2f9b03b41010b 100644 (file)
@@ -43,7 +43,7 @@
 
 #include <SigAction.h>
 
-MODULE_ID("$Id: lib_tstp.c,v 1.52 2022/08/13 14:36:43 tom Exp $")
+MODULE_ID("$Id: lib_tstp.c,v 1.53 2022/10/15 13:09:05 Mikhail.Korolev Exp $")
 
 #if defined(SIGTSTP) && (HAVE_SIGACTION || HAVE_SIGVEC)
 #define USE_SIGTSTP 1
@@ -283,8 +283,6 @@ handle_SIGINT(int sig)
     _exit(EXIT_FAILURE);
 }
 
-#if USE_SIGWINCH
-
 # ifndef _nc_set_read_thread
 NCURSES_EXPORT(void)
 _nc_set_read_thread(bool enable)
@@ -300,6 +298,8 @@ _nc_set_read_thread(bool enable)
 }
 # endif
 
+#if USE_SIGWINCH
+
 static void
 handle_SIGWINCH(int sig GCC_UNUSED)
 {