[vlc-commits] WinCE: (don't) implement vlc_pipe()
Pierre Ynard
git at videolan.org
Thu Feb 10 00:28:30 CET 2011
vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Thu Feb 10 00:28:26 2011 +0100| [34faa8a2df4613f557d8b8fed9c11b20bc1a9d19] | committer: Pierre Ynard
WinCE: (don't) implement vlc_pipe()
Pipes are not supported on WinCE
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=34faa8a2df4613f557d8b8fed9c11b20bc1a9d19
---
src/win32/filesystem.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/win32/filesystem.c b/src/win32/filesystem.c
index e236186..6d16ad3 100644
--- a/src/win32/filesystem.c
+++ b/src/win32/filesystem.c
@@ -257,7 +257,13 @@ int vlc_dup (int oldfd)
int vlc_pipe (int fds[2])
{
+#ifdef UNDER_CE
+ (void) fds;
+ errno = ENOSYS;
+ return -1;
+#else
return _pipe (fds, 32768, O_BINARY);
+#endif
}
#include <vlc_network.h>
More information about the vlc-commits
mailing list