Fix IXANY feature macro conditions.
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 27 Sep 2009 23:26:59 +0000 (16:26 -0700)
committerRoland McGrath <roland@redhat.com>
Sun, 27 Sep 2009 23:26:59 +0000 (16:26 -0700)
ChangeLog
bits/termios.h

index bdc4b4d..5dcdbfc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-09-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+
+       * bits/termios.h [__USE_UNIX98] (IXANY): Define macro.
+
 2009-09-20  Andreas Schwab  <schwab@linux-m68k.org>
 
        * iconvdata/iso646.c (gconv_init): Correctly initialize the
index 293d0a6..b697dd1 100644 (file)
@@ -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