]> git.sesse.net Git - vlc/commitdiff
WinCE: don't use features absent of Windows Mobile
authorGeoffroy Couprie <geo.couprie@gmail.com>
Thu, 19 Feb 2009 01:11:08 +0000 (02:11 +0100)
committerGeoffroy Couprie <geo.couprie@gmail.com>
Thu, 19 Feb 2009 01:11:08 +0000 (02:11 +0100)
modules/access_output/file.c

index 4d137b524bde8561fa7bdea3d5cd5b55e2f68bdc..6a3cd86d7a7d95873ef64794799fee37da4a8937 100644 (file)
@@ -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
     {