Commit 503b1ff7 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Fail when calling vlc_pipe in Windows Store App mode

parent 620da472
...@@ -240,7 +240,12 @@ int vlc_dup (int oldfd) ...@@ -240,7 +240,12 @@ int vlc_dup (int oldfd)
int vlc_pipe (int fds[2]) int vlc_pipe (int fds[2])
{ {
#ifdef WINAPI_FAMILY_APP
_set_errno(EPERM);
return -1;
#else
return _pipe (fds, 32768, O_NOINHERIT | O_BINARY); return _pipe (fds, 32768, O_NOINHERIT | O_BINARY);
#endif
} }
#include <vlc_network.h> #include <vlc_network.h>
......
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