diff options
author | Joseph Myers <joseph@codesourcery.com> | 2022-10-24 13:43:19 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2022-10-24 13:43:19 +0000 |
commit | b87a70e5e26e2656637da5f58ba4d26777d9e37b (patch) | |
tree | 4049a602bdc90295f95cac993bfae62d571cc644 /sysdeps/unix/sysv/linux/alpha | |
parent | 8775479804cfea2bbe4dcdf19d6589264c96d5fb (diff) | |
download | glibc-b87a70e5e26e2656637da5f58ba4d26777d9e37b.tar.gz glibc-b87a70e5e26e2656637da5f58ba4d26777d9e37b.tar.xz glibc-b87a70e5e26e2656637da5f58ba4d26777d9e37b.zip |
Add ADDRB from Linux 6.0 to bits/termios-c_cflag.h
Linux 6.0 adds a constant ADDRB, a termios c_cflag bit, to its include/uapi/asm-generic/termbits-common.h. Add it accordingly to glibc's bits/termios-c_cflag.h headers. As other constants in these headers are generally in octal, I converted the value to octal to match. As ADDRB isn't in a POSIX-reserved namespace, I made it conditional on __USE_MISC. Tested for x86_64.
Diffstat (limited to 'sysdeps/unix/sysv/linux/alpha')
-rw-r--r-- | sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h b/sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h index d2d27cc6b3..c683aa47b0 100644 --- a/sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h +++ b/sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h @@ -33,3 +33,7 @@ #define HUPCL 00040000 #define CLOCAL 00100000 + +#ifdef __USE_MISC +# define ADDRB 04000000000 +#endif |