From dcdf113f09dfadf4ed411bd7678f1bf3297e4696 Mon Sep 17 00:00:00 2001 From: jjgarcia Date: Tue, 11 Jan 2005 09:49:36 +0000 Subject: [PATCH] There are problems with the detection of input from the console under windows --- src/c/file.d | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/c/file.d b/src/c/file.d index d3455c810..dcb0158e8 100644 --- a/src/c/file.d +++ b/src/c/file.d @@ -1795,7 +1795,8 @@ flisten(FILE *fp) return (c > 0)? ECL_LISTEN_AVAILABLE : ECL_LISTEN_NO_CHAR; } #endif /* FIONREAD */ -#else +#endif +#if 0 if (isatty(fileno(fp))) { /* console input */ HANDLE hnd = _get_osfhandle(_fileno(fp));