projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e564d29
)
2008-05-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
author
Roland McGrath
<roland@gnu.org>
Wed, 21 May 2008 19:37:10 +0000
(19:37 +0000)
committer
Roland McGrath
<roland@gnu.org>
Wed, 21 May 2008 19:37:10 +0000
(19:37 +0000)
* bits/termios.h (ONLCR): Define under [__USE_XOPEN] too.
bits/termios.h
patch
|
blob
|
history
diff --git
a/bits/termios.h
b/bits/termios.h
index
4dc0fab
..
293d0a6
100644
(file)
--- a/
bits/termios.h
+++ b/
bits/termios.h
@@
-135,8
+135,10
@@
struct termios
/* Output modes. */
tcflag_t c_oflag;
#define OPOST (1 << 0) /* Perform output processing. */
-#if
def __USE_BSD
+#if
defined __USE_BSD || defined __USE_XOPEN
# define ONLCR (1 << 1) /* Map NL to CR-NL on output. */
+#endif
+#ifdef __USE_BSD
# define OXTABS TAB3 /* Expand tabs to spaces. */
# define ONOEOT (1 << 3) /* Discard EOT (^D) on output. */
#endif