[vlc-devel] commit: WinCE: work-around for network file test (Pierre Ynard )
git version control
git at videolan.org
Mon Jul 27 17:40:11 CEST 2009
vlc | branch: 1.0-bugfix | Pierre Ynard <linkfanel at yahoo.fr> | Mon Jul 27 17:36:09 2009 +0200| [f279301d8c484c6e78ce0d71438729d2a1103f10] | committer: Pierre Ynard
WinCE: work-around for network file test
Work around the missing PathIsNetworkPathW() function...
(cherry picked from commit 1e1269ba0b6f2e1066f2a763329126962da368c6)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f279301d8c484c6e78ce0d71438729d2a1103f10
---
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 f6af2bf..689837f 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