]> git.sesse.net Git - vlc/commitdiff
Win32: disable tmpfile() on WinRT
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 25 Feb 2015 15:38:58 +0000 (16:38 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 25 Feb 2015 15:39:21 +0000 (16:39 +0100)
src/win32/filesystem.c

index 7f29c8f88a8f1df78a1d0cb50c76994f5896d3e6..824a708c4ef24ea732f09844a74de5e58dcd9bdd 100644 (file)
@@ -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