]> git.sesse.net Git - vlc/commitdiff
Implement IsRemote() for OS/2
authorKO Myung-Hun <komh@chollian.net>
Mon, 10 Oct 2011 11:43:51 +0000 (20:43 +0900)
committerRémi Denis-Courmont <remi@remlab.net>
Mon, 10 Oct 2011 14:25:24 +0000 (17:25 +0300)
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
modules/access/file.c

index 2f767c64a96c1e643adc7aa12491c66a9ce8f4dc..be9044d7240fd7abcdb83380e4c8d5486813a131 100644 (file)
@@ -123,10 +123,10 @@ static bool IsRemote (int fd)
 }
 # define IsRemote(fd,path) IsRemote(fd)
 
-#else /* WIN32 */
+#else /* WIN32 || __OS2__ */
 static bool IsRemote (const char *path)
 {
-# ifndef UNDER_CE
+# if !defined(UNDER_CE) && !defined(__OS2__)
     wchar_t *wpath = ToWide (path);
     bool is_remote = (wpath != NULL && PathIsNetworkPathW (wpath));
     free (wpath);