Skip to content
Snippets Groups Projects
Commit 984ccfa6 authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf
Browse files

text/unicode: only use WriteConsoleW with WINAPI_PARTITION_APP

that's how it's defined in the Platform SDK and ming-w64
parent 6b3b5623
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,7 @@ int utf8_vfprintf( FILE *stream, const char *fmt, va_list ap )
if (unlikely(res == -1))
return -1;
#ifndef VLC_WINSTORE_APP
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_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
......@@ -89,7 +89,7 @@ int utf8_vfprintf( FILE *stream, const char *fmt, va_list ap )
}
else
res = -1;
#ifndef VLC_WINSTORE_APP
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
out:
#endif
free (str);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment