diff --git a/src/text/unicode.c b/src/text/unicode.c index 89b4fc44a2..659b9cf42a 100644 --- a/src/text/unicode.c +++ b/src/text/unicode.c @@ -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);