From: Geoffroy Couprie Date: Thu, 19 Feb 2009 01:11:08 +0000 (+0100) Subject: WinCE: don't use features absent of Windows Mobile X-Git-Tag: 1.0.0-pre1~577 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=aaee4b600893c2cbb37f36e3b703b7fc1d431d6a;p=vlc WinCE: don't use features absent of Windows Mobile --- diff --git a/modules/access_output/file.c b/modules/access_output/file.c index 4d137b524b..6a3cd86d7a 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 {