[vlc-devel] [PATCH 12/41] Implement IsRemote() for OS/2

KO Myung-Hun komh at chollian.net
Mon Oct 10 13:43:51 CEST 2011


---
 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);
-- 
1.7.3.2



More information about the vlc-devel mailing list