summaryrefslogtreecommitdiff
path: root/src/keyboard.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-04-16 05:53:27 +0000
committerRichard M. Stallman <rms@gnu.org>1994-04-16 05:53:27 +0000
commitcb13560b706d63285a6945dd0ce1503d8e4a5a80 (patch)
treec06962b13c7c1a4402773f2ba96c6fd6f17cea70 /src/keyboard.c
parentc47740f29505937d8f828985127c978921346280 (diff)
downloademacs-cb13560b706d63285a6945dd0ce1503d8e4a5a80.tar.gz
(read_avail_input): Fix previous change--test _BSD.
Diffstat (limited to 'src/keyboard.c')
-rw-r--r--src/keyboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 6e70ddf6526..c74b151c779 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -3347,7 +3347,7 @@ read_avail_input (expected)
#else
nread = read (fileno (stdin), cbuf, n_to_read);
#endif
-#if defined (AIX) && ! defined (aix386)
+#if defined (AIX) && defined (_BSD)
/* The kernel sometimes fails to deliver SIGHUP for ptys.
This looks incorrect, but it isn't, because _BSD causes
O_NDELAY to be defined in fcntl.h as O_NONBLOCK,