[vlc-devel] commit: WinCE: work-around for network file test (Pierre Ynard )

git version control git at videolan.org
Mon Jul 27 17:38:32 CEST 2009


vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Mon Jul 27 17:36:09 2009 +0200| [1e1269ba0b6f2e1066f2a763329126962da368c6] | committer: Pierre Ynard 

WinCE: work-around for network file test

Work around the missing PathIsNetworkPathW() function...

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

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

diff --git a/modules/access/file.c b/modules/access/file.c
index c522829..d85cc7d 100644
--- a/modules/access/file.c
+++ b/modules/access/file.c
@@ -73,6 +73,7 @@
 #elif defined( UNDER_CE )
 /* FIXME the commandline on wince is a mess */
 # define dup(a) -1
+# define PathIsNetworkPathW(wpath) (! wcsncmp(wpath, L"\\\\", 2))
 #endif
 
 #include <vlc_charset.h>




More information about the vlc-devel mailing list