summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-11-13 07:50:17 +0000
committerRichard M. Stallman <rms@gnu.org>1993-11-13 07:50:17 +0000
commit482952ef03359a468bbc35b26738aaf47610e410 (patch)
tree6729d3d1a40023a2c2af8b24505efc4e7cecf6dd
parentbb292747ca0519a8bb602d0713e4e08a6bb56bc1 (diff)
downloademacs-482952ef03359a468bbc35b26738aaf47610e410.tar.gz
(read_avail_input) [no FIONREAD]: On DGUX, as on USG,
read input with O_NDELAY.
-rw-r--r--src/keyboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 0f12c5b03ac..249c594d2a8 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -3044,7 +3044,7 @@ read_avail_input (expected)
if (nread > sizeof cbuf)
nread = sizeof cbuf;
#else /* no FIONREAD */
-#ifdef USG
+#if defined(USG) || defined(DGUX)
/* Read some input if available, but don't wait. */
nread = sizeof cbuf;
fcntl (fileno (stdin), F_SETFL, O_NDELAY);