changeset 33407:b1a5569ab5ad

(BROKEN_SIGAIO, BROKEN_SIGPTY, BROKEN_SIGPOLL): Defined these macros. (NLIST_STRUCT): Avoid re-defining it.
author Kenichi Handa <handa@m17n.org>
date Sat, 11 Nov 2000 01:05:49 +0000
parents 9e7e6fdddf0b
children f07928f0dede
files src/m/ibmrs6000.h
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/m/ibmrs6000.h	Sat Nov 11 00:31:37 2000 +0000
+++ b/src/m/ibmrs6000.h	Sat Nov 11 01:05:49 2000 +0000
@@ -150,6 +150,14 @@
 #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 @@
 #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 */