Commit 8c3b357e authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Win32: disable tmpfile() on WinRT

parent c577308f
......@@ -301,6 +301,7 @@ int vlc_accept (int lfd, struct sockaddr *addr, socklen_t *alen, bool nonblock)
return fd;
}
#if !VLC_WINSTORE_APP
FILE *vlc_win32_tmpfile(void)
{
TCHAR tmp_path[MAX_PATH-14];
......@@ -332,4 +333,10 @@ FILE *vlc_win32_tmpfile(void)
}
return stream;
}
#else
FILE *vlc_win32_tmpfile(void)
{
return NULL;
}
#endif
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