Commit 7f9eb94a authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Win32: Console is not supported in WinRT appstore mode

parent 4542dcce
...@@ -59,6 +59,7 @@ int utf8_vfprintf( FILE *stream, const char *fmt, va_list ap ) ...@@ -59,6 +59,7 @@ int utf8_vfprintf( FILE *stream, const char *fmt, va_list ap )
if (unlikely(res == -1)) if (unlikely(res == -1))
return -1; return -1;
#if !defined(WINAPI_FAMILY_APP)
/* Writing to the console is a lot of fun on Microsoft Windows. /* 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, * 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 * 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 ) ...@@ -79,6 +80,7 @@ int utf8_vfprintf( FILE *stream, const char *fmt, va_list ap )
goto out; goto out;
} }
} }
#endif
char *ansi = ToANSI (str); char *ansi = ToANSI (str);
if (ansi != NULL) if (ansi != NULL)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment