aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa <[email protected]>2000-11-11 01:05:49 +0000
committerKenichi Handa <[email protected]>2000-11-11 01:05:49 +0000
commit0a95681a61d85d7d2afce099cea13235cc411674 (patch)
tree47ce0a80ec7ce3bc12af9bde370105e9a3094fb9 /src
parent050c9c68496e68053cd77dcccd527ff1c6d57db3 (diff)
(BROKEN_SIGAIO, BROKEN_SIGPTY, BROKEN_SIGPOLL):
Defined these macros. (NLIST_STRUCT): Avoid re-defining it.
Diffstat (limited to 'src')
-rw-r--r--src/m/ibmrs6000.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/m/ibmrs6000.h b/src/m/ibmrs6000.h
index 56756ed0f9..8500ee9a7a 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 */