]> git.sesse.net Git - vlc/commitdiff
WinCE: work-around for network file test
authorPierre Ynard <linkfanel@yahoo.fr>
Mon, 27 Jul 2009 15:36:09 +0000 (17:36 +0200)
committerPierre Ynard <linkfanel@yahoo.fr>
Mon, 27 Jul 2009 15:36:09 +0000 (17:36 +0200)
Work around the missing PathIsNetworkPathW() function...

modules/access/file.c

index c522829b3d9d972833b01fdad300b28860ef2f17..d85cc7d5904ace8be81c7684fa6081641d6b16fe 100644 (file)
@@ -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>