summaryrefslogtreecommitdiff
path: root/bits
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2009-09-27 16:26:59 -0700
committerRoland McGrath <roland@redhat.com>2009-09-27 16:26:59 -0700
commit0d1804061a2c27ffe511a5f9df572ad9748d8219 (patch)
treeb81f4e42d8d6c1dccc2c2e1637277f17c0a8e1aa /bits
parentae0f0dbd0e6205af474cd8e5d5f43ff7a7e46eec (diff)
downloadglibc-0d1804061a2c27ffe511a5f9df572ad9748d8219.tar.gz
Fix IXANY feature macro conditions.
Diffstat (limited to 'bits')
-rw-r--r--bits/termios.h4
1 files changed, 3 insertions, 1 deletions
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