From 8c25dc8b18eeb22aa71ba31929c186e57a370d10 Mon Sep 17 00:00:00 2001 From: Thomas Fischer Date: Sat, 15 Mar 2014 12:57:47 +0100 Subject: [PATCH] reverted fileno change, MSVS specific API changes follow in another PR --- Engine/source/console/CMDscan.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Engine/source/console/CMDscan.cpp b/Engine/source/console/CMDscan.cpp index 75f27dd72..f81c040a4 100644 --- a/Engine/source/console/CMDscan.cpp +++ b/Engine/source/console/CMDscan.cpp @@ -1910,11 +1910,7 @@ extern int isatty (int ); b->yy_bs_column = 0; } -#ifdef _MSC_VER - b->yy_is_interactive = file ? (isatty( _fileno(file) ) > 0) : 0; -#else b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; -#endif // _MSC_VER errno = oerrno; }