Commit a32f9e2d authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

winvlc: Replace STDIN_FILENO by the equivalent _fileno call

STDIN_FILENO isn't defined by MSVC
parent d04d1ee3
......@@ -151,7 +151,7 @@ int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,
_setmode( STDIN_FILENO, _O_BINARY ); /* Needed for pipes */
_setmode( _fileno( stdin ), _O_BINARY ); /* Needed for pipes */
/* */
if (!lang)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment