]> git.sesse.net Git - vlc/commitdiff
file access: don't use PathIsNetworkPath in store app
authorRafaël Carré <funman@videolan.org>
Sat, 20 Apr 2013 15:19:31 +0000 (17:19 +0200)
committerRafaël Carré <funman@videolan.org>
Sat, 20 Apr 2013 18:31:04 +0000 (20:31 +0200)
modules/access/file.c

index 72ee5678abf335234ed216d8676985424fb62900..97fa2af189fd1a39d19ec49c33a8ba4278941d53 100644 (file)
@@ -112,7 +112,7 @@ static bool IsRemote (int fd)
 #else /* WIN32 || __OS2__ */
 static bool IsRemote (const char *path)
 {
-# if !defined(__OS2__)
+# if !defined(__OS2__) && !defined(WINAPI_FAMILY_APP)
     wchar_t *wpath = ToWide (path);
     bool is_remote = (wpath != NULL && PathIsNetworkPathW (wpath));
     free (wpath);