]> git.sesse.net Git - vlc/commitdiff
_pipe is not selectable on Windows, so return -1
authorRémi Denis-Courmont <rem@videolan.org>
Sat, 22 Dec 2007 15:49:53 +0000 (15:49 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sat, 22 Dec 2007 15:49:53 +0000 (15:49 +0000)
src/misc/objects.c

index 695b8e7086986f36d67f4f1b37c81c315e454fac..98a4062018c9fbb7015bcc58feff05addae9420a 100644 (file)
@@ -493,8 +493,6 @@ int vlc_object_waitpipe( vlc_object_t *obj )
 
 #ifndef WIN32
         if( pipe( pipes ) )
-#else
-        if( _pipe( pipes, 1, _O_BINARY ) )
 #endif
             return -1;
     }