[vlc-devel] commit: WinCE: don't use features absent of Windows Mobile ( Geoffroy Couprie )
git version control
git at videolan.org
Thu Feb 19 02:42:34 CET 2009
vlc | branch: master | Geoffroy Couprie <geo.couprie at gmail.com> | Thu Feb 19 02:11:08 2009 +0100| [aaee4b600893c2cbb37f36e3b703b7fc1d431d6a] | committer: Geoffroy Couprie
WinCE: don't use features absent of Windows Mobile
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=aaee4b600893c2cbb37f36e3b703b7fc1d431d6a
---
modules/access_output/file.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/modules/access_output/file.c b/modules/access_output/file.c
index 4d137b5..6a3cd86 100644
--- a/modules/access_output/file.c
+++ b/modules/access_output/file.c
@@ -116,11 +116,15 @@ static int Open( vlc_object_t *p_this )
if( !strcmp( p_access->psz_path, "-" ) )
{
+#ifndef UNDER_CE
#ifdef WIN32
setmode (fileno (stdout), O_BINARY);
#endif
fd = dup (fileno (stdout));
msg_Dbg( p_access, "using stdout" );
+#else
+#warning stdout is not supported on Windows Mobile, but may be used on Windows CE
+#endif
}
else
{
More information about the vlc-devel
mailing list