[__GO32__]: Don't undef HANDLE_SIGNALS for DJGPP v2.x.
Don't declare sigwinch_set_flag if SIGWINCH is undefined.
This commit is contained in:
parent
410913b1c5
commit
a66f60a2b1
1 changed files with 4 additions and 2 deletions
|
@ -40,9 +40,9 @@
|
||||||
# include <sys/ioctl.h>
|
# include <sys/ioctl.h>
|
||||||
#endif /* GWINSZ_IN_SYS_IOCTL */
|
#endif /* GWINSZ_IN_SYS_IOCTL */
|
||||||
|
|
||||||
#if defined (__GO32__)
|
#if defined (__GO32__) && !defined(__DJGPP__)
|
||||||
# undef HANDLE_SIGNALS
|
# undef HANDLE_SIGNALS
|
||||||
#endif /* __GO32__ */
|
#endif /* __GO32__ && !__DJGPP__ */
|
||||||
|
|
||||||
#if defined (HANDLE_SIGNALS)
|
#if defined (HANDLE_SIGNALS)
|
||||||
/* Some standard library routines. */
|
/* Some standard library routines. */
|
||||||
|
@ -93,7 +93,9 @@ int rl_catch_sigwinch = 1;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static int signals_set_flag;
|
static int signals_set_flag;
|
||||||
|
#ifdef SIGWINCH
|
||||||
static int sigwinch_set_flag;
|
static int sigwinch_set_flag;
|
||||||
|
#endif
|
||||||
|
|
||||||
/* **************************************************************** */
|
/* **************************************************************** */
|
||||||
/* */
|
/* */
|
||||||
|
|
Loading…
Reference in a new issue