Fix alpha termios.h NL2, NL3 namespace (bug 21268).
commitba7fe6906d213e226dff8606dca64feb48718e27
authorJoseph Myers <joseph@codesourcery.com>
Mon, 20 Mar 2017 17:32:19 +0000 (20 17:32 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Mon, 20 Mar 2017 17:32:19 +0000 (20 17:32 +0000)
treeb639c8bb9810a44792a11a86c7cb5d0da550db76
parentddc3fb333469c2997798742dc0509dc1e3201d91
Fix alpha termios.h NL2, NL3 namespace (bug 21268).

sysdeps/unix/sysv/linux/alpha/bits/termios.h defines NL2 and NL3 for
__USE_MISC || __USE_XOPEN.  These should only be defined for
__USE_MISC as they are not part of any standard namespace.  This patch
conditions them accordingly, matching the powerpc version of the
header (the only other one in glibc that defines these macros).

Tested (compilation only) with build-many-glibcs.py.

[BZ #21268]
* sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
if [__USE_MISC]
(NL3): Likewise.
ChangeLog
sysdeps/unix/sysv/linux/alpha/bits/termios.h