[vlc-devel] [PATCH] file access: don't use PathIsNetworkPath in store app
Rafaël Carré
funman at videolan.org
Sat Apr 20 17:19:55 CEST 2013
---
modules/access/file.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/access/file.c b/modules/access/file.c
index 72ee567..97fa2af 100644
--- a/modules/access/file.c
+++ b/modules/access/file.c
@@ -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);
--
1.7.10.4
More information about the vlc-devel
mailing list