Don't declare sigwinch_set_flag if SIGWINCH is undefined.
# include <sys/ioctl.h>
#endif /* GWINSZ_IN_SYS_IOCTL */
-#if defined (__GO32__)
+#if defined (__GO32__) && !defined(__DJGPP__)
# undef HANDLE_SIGNALS
-#endif /* __GO32__ */
+#endif /* __GO32__ && !__DJGPP__ */
#if defined (HANDLE_SIGNALS)
/* Some standard library routines. */
#endif
static int signals_set_flag;
+#ifdef SIGWINCH
static int sigwinch_set_flag;
+#endif
/* **************************************************************** */
/* */