From 0d1804061a2c27ffe511a5f9df572ad9748d8219 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 27 Sep 2009 16:26:59 -0700 Subject: Fix IXANY feature macro conditions. --- ChangeLog | 4 ++++ bits/termios.h | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index bdc4b4d409..5dcdbfcf01 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-09-28 Samuel Thibault + + * bits/termios.h [__USE_UNIX98] (IXANY): Define macro. + 2009-09-20 Andreas Schwab * iconvdata/iso646.c (gconv_init): Correctly initialize the diff --git a/bits/termios.h b/bits/termios.h index 293d0a6061..b697dd19a8 100644 --- a/bits/termios.h +++ b/bits/termios.h @@ -124,8 +124,10 @@ struct termios #define ICRNL (1 << 8) /* Map CR to NL on input. */ #define IXON (1 << 9) /* Enable start/stop output control. */ #define IXOFF (1 << 10) /* Enable start/stop input control. */ -#ifdef __USE_BSD +#if defined __USE_BSD || defined __USE_UNIX98 # define IXANY (1 << 11) /* Any character will restart after stop. */ +#endif +#ifdef __USE_BSD # define IMAXBEL (1 << 13) /* Ring bell when input queue is full. */ #endif #ifdef __USE_GNU -- cgit v1.2.3