summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-05-05 20:48:16 +0000
committerUlrich Drepper <drepper@redhat.com>2000-05-05 20:48:16 +0000
commitfda4deac4361d47c60df663f7c1c997322d10b5e (patch)
treed5a5255b4d19bc3ea5b93a055a085e8c4fb9db46 /sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c
parent3c38e028f36115cb4b5621380dc95b0d247ca011 (diff)
downloadglibc-fda4deac4361d47c60df663f7c1c997322d10b5e.tar.gz
Update.
* sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c')
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c b/sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c
index bf3b2d638c..5736b4fe3d 100644
--- a/sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c
+++ b/sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c
@@ -93,7 +93,7 @@ tcsetattr (fd, optional_actions, linuxtermios_p)
if (linuxtermios_p->c_oflag & TABDLY)
{
#define offset 2
-#if TAB0 >> offset != AIX_TAB1 || TAB1 >> offset != AIX_TAB3
+#if TAB1 >> offset != AIX_TAB1 || TAB3 >> offset != AIX_TAB3
# error "Check the offset"
#endif
aixtermios.c_oflag |= (linuxtermios_p->c_oflag >> offset) & AIX_TABDLY;
@@ -110,7 +110,7 @@ tcsetattr (fd, optional_actions, linuxtermios_p)
if (linuxtermios_p->c_cflag & CSIZE)
{
#define offset 4
-#if LINUX_CSIZE >> offset != AIX_CSIZE
+#if CSIZE >> offset != AIX_CSIZE
# error "Check the offset"
#endif
aixtermios.c_cflag |= (linuxtermios_p->c_cflag >> offset) & AIX_CSIZE;