From aaee4b600893c2cbb37f36e3b703b7fc1d431d6a Mon Sep 17 00:00:00 2001 From: Geoffroy Couprie Date: Thu, 19 Feb 2009 02:11:08 +0100 Subject: [PATCH] WinCE: don't use features absent of Windows Mobile --- modules/access_output/file.c | 4 ++++ 1 file changed, 4 insertions(+) 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 { -- 2.39.2