vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | Mon Mar 11 
00:51:56 2013 +0100| [7f9eb94ae2374e5189d3e2f0b03fcd7455424bc3] | committer: 
Jean-Baptiste Kempf

Win32: Console is not supported in WinRT appstore mode

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

 src/text/unicode.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/text/unicode.c b/src/text/unicode.c
index 9bf5716..dd29bfa 100644
--- a/src/text/unicode.c
+++ b/src/text/unicode.c
@@ -59,6 +59,7 @@ int utf8_vfprintf( FILE *stream, const char *fmt, va_list ap )
     if (unlikely(res == -1))
         return -1;
 
+#if !defined(WINAPI_FAMILY_APP)
     /* 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
@@ -79,6 +80,7 @@ int utf8_vfprintf( FILE *stream, const char *fmt, va_list ap )
                 goto out;
         }
     }
+#endif
 
     char *ansi = ToANSI (str);
     if (ansi != NULL)

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to