[PATCH,HURD] termios.h: IXANY is in susv since at least 98
Samuel Thibault
samuel.thibault@ens-lyon.org
Sun Sep 27 23:20:00 GMT 2009
Hello,
IXANY is in susv2 (98) at least, so it needs to be defined not only for
__USE_BSD but __USE_UNIX98 too, maybe __USE_XOPEN too but I don't have a
copy to check.
Samuel
2009-09-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
* bits/termios.h [__USE_UNIX98] (IXANY): Define macro.
diff --git a/bits/termios.h b/bits/termios.h
index 293d0a6..b697dd1 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
More information about the Libc-alpha
mailing list