Commit df8462b3 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Win32: fix compilation

(cherry picked from commit 95da9d5a)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 268359b7
......@@ -193,9 +193,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