2
0
Эх сурвалжийг харах

reverted fileno change, MSVS specific API changes follow in another PR

Thomas Fischer 11 жил өмнө
parent
commit
8c25dc8b18

+ 0 - 4
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;
 }