mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-31 23:11:09 +00:00
2008-05-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
* bits/termios.h (ONLCR): Define under [__USE_XOPEN] too.
This commit is contained in:
parent
e564d29d8e
commit
844625b5cd
@ -135,8 +135,10 @@ struct termios
|
|||||||
/* Output modes. */
|
/* Output modes. */
|
||||||
tcflag_t c_oflag;
|
tcflag_t c_oflag;
|
||||||
#define OPOST (1 << 0) /* Perform output processing. */
|
#define OPOST (1 << 0) /* Perform output processing. */
|
||||||
#ifdef __USE_BSD
|
#if defined __USE_BSD || defined __USE_XOPEN
|
||||||
# define ONLCR (1 << 1) /* Map NL to CR-NL on output. */
|
# define ONLCR (1 << 1) /* Map NL to CR-NL on output. */
|
||||||
|
#endif
|
||||||
|
#ifdef __USE_BSD
|
||||||
# define OXTABS TAB3 /* Expand tabs to spaces. */
|
# define OXTABS TAB3 /* Expand tabs to spaces. */
|
||||||
# define ONOEOT (1 << 3) /* Discard EOT (^D) on output. */
|
# define ONOEOT (1 << 3) /* Discard EOT (^D) on output. */
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user