From 0a95681a61d85d7d2afce099cea13235cc411674 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Sat, 11 Nov 2000 01:05:49 +0000 Subject: (BROKEN_SIGAIO, BROKEN_SIGPTY, BROKEN_SIGPOLL): Defined these macros. (NLIST_STRUCT): Avoid re-defining it. --- src/m/ibmrs6000.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/m/ibmrs6000.h') diff --git a/src/m/ibmrs6000.h b/src/m/ibmrs6000.h index 56756ed0f95..8500ee9a7a2 100644 --- a/src/m/ibmrs6000.h +++ b/src/m/ibmrs6000.h @@ -150,6 +150,14 @@ Boston, MA 02111-1307, USA. */ #define HAVE_SYSVIPC /*** BUILD 9008 - FIONREAD problem still exists in X-Windows. ***/ #define BROKEN_FIONREAD +/* As we define BROKEN_FIONREAD, SIGIO will be undefined in systty.h. + But, on AIX, SIGAIO, SIGPTY, and SIGPOLL are defined as SIGIO, + which causes compilation error at init_signals in sysdep.c. So, we + define these macros so that syssignal.h detects them and undefine + SIGAIO, SIGPTY and SIGPOLL. */ +#define BROKEN_SIGAIO +#define BROKEN_SIGPTY +#define BROKEN_SIGPOLL /* Don't try to include sioctl.h or ptem.h. */ #undef NEED_SIOCTL @@ -181,7 +189,9 @@ Boston, MA 02111-1307, USA. */ #define LD_SWITCH_SITE -B/bin/ #endif +#ifndef NLIST_STRUCT /* AIX supposedly doesn't use this interface, but on the RS/6000 it apparently does. */ #define NLIST_STRUCT +#endif #endif /* USG5_4 */ -- cgit v1.2.1