vlc | branch: master | Hugo Beauzée-Luyssen <[email protected]> | Wed Oct 22 
15:31:30 2014 +0200| [a32f9e2d8737dcd93ea33a2f3b1fc420f8e1506b] | committer: 
Hugo Beauzée-Luyssen

winvlc: Replace STDIN_FILENO by the equivalent _fileno call

STDIN_FILENO isn't defined by MSVC

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a32f9e2d8737dcd93ea33a2f3b1fc420f8e1506b
---

 bin/winvlc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/winvlc.c b/bin/winvlc.c
index 640ef09..7caab51 100644
--- a/bin/winvlc.c
+++ b/bin/winvlc.c
@@ -151,7 +151,7 @@ int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE 
hPrevInstance,
         SetUnhandledExceptionFilter(vlc_exception_filter);
     }
 
-    _setmode( STDIN_FILENO, _O_BINARY ); /* Needed for pipes */
+    _setmode( _fileno( stdin ), _O_BINARY ); /* Needed for pipes */
 
     /* */
     if (!lang)

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to