Commit 95da9d5a authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Win32: fix compilation

parent 5a7aaf0a
......@@ -183,9 +183,11 @@ int FileOpen( vlc_object_t *p_this )
goto error;
}
#ifdef S_ISSOCK
if (!S_ISFIFO (st.st_mode) && !S_ISSOCK (st.st_mode))
/* Clear non-blocking mode when not useful or not specified */
fcntl (fd, F_SETFL, fcntl (fd, F_GETFL) & ~O_NONBLOCK);
#endif
/* Directories can be opened and read from, but only readdir() knows
* how to parse the data. The directory plugin will do it. */
......
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