[vlc-commits] commit: WinCE: try to fix compilation (Jean-Baptiste Kempf )

git at videolan.org git at videolan.org
Sat Jul 24 14:42:55 CEST 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Jul 24 14:43:02 2010 +0200| [28308db499bc763b7a8daf8fad7bee3c03a3790f] | committer: Jean-Baptiste Kempf 

WinCE: try to fix compilation

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=28308db499bc763b7a8daf8fad7bee3c03a3790f
---

 src/text/unicode.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/text/unicode.c b/src/text/unicode.c
index 6639328..a6b51a3 100644
--- a/src/text/unicode.c
+++ b/src/text/unicode.c
@@ -225,7 +225,7 @@ int utf8_vfprintf( FILE *stream, const char *fmt, va_list ap )
     char *str;
     int res;
 
-#ifdef WIN32
+#ifdef WIN32 && !defined( UNDER_CE )
     /* Writing to the console is a lot of fun on Microsoft Windows.
      * If you use the standard I/O functions, you must use the OEM code page,
      * which is different from the usual ANSI code page. Or maybe not, if the



More information about the vlc-commits mailing list