Browse Source

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

Thomas Fischer 11 years ago
parent
commit
8c25dc8b18
1 changed files with 0 additions and 4 deletions
  1. 0 4
      Engine/source/console/CMDscan.cpp

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