_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 695b8e7..98a4062 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;
     }