[vlc-commits] Implement IsRemote() for OS/2

KO Myung-Hun git at videolan.org
Mon Oct 10 16:29:37 CEST 2011


vlc | branch: master | KO Myung-Hun <komh at chollian.net> | Mon Oct 10 20:43:51 2011 +0900| [e0e775bdb6bb4a1108703202c5ea64982e14be52] | committer: Rémi Denis-Courmont

Implement IsRemote() for OS/2

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e0e775bdb6bb4a1108703202c5ea64982e14be52
---

 modules/access/file.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/access/file.c b/modules/access/file.c
index 2f767c6..be9044d 100644
--- a/modules/access/file.c
+++ b/modules/access/file.c
@@ -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);



More information about the vlc-commits mailing list