From fda4deac4361d47c60df663f7c1c997322d10b5e Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 5 May 2000 20:48:16 +0000 Subject: Update. * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file. --- sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c') 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; -- cgit v1.2.3