There are problems with the detection of input from the console under windows

This commit is contained in:
jjgarcia 2005-01-11 09:49:36 +00:00
parent 74ae3aefe8
commit dcdf113f09

View file

@ -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));