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

git at videolan.org git at videolan.org
Sat Jul 24 15:19:02 CEST 2010


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

WinCE: fix compilation

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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 4607d15..0d86618 100644
--- a/src/text/unicode.c
+++ b/src/text/unicode.c
@@ -223,7 +223,7 @@ int utf8_vfprintf( FILE *stream, const char *fmt, va_list ap )
     char *str;
     int res;
 
-#ifdef WIN32
+#if defined( 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