ref: ed4d0710f14878b51ce1885e0f3221e2d6d97a5a
parent: 581dd064055eff6bda496c96e32b5400df57d8ef
author: Alexei Podtelezhnikov <apodtele@gmail.com>
date: Mon Apr 25 15:05:11 EDT 2022
[builds/windows] Simplify non-desktop UWP check. Fixes mingw compilation described in !159. * builds/windows/ftsystem.c: Do not use WINAPI_FAMILY_PARTITION macro.
--- a/builds/windows/ftsystem.c
+++ b/builds/windows/ftsystem.c
@@ -197,8 +197,7 @@
/* non-desktop Universal Windows Platform */
-#if defined( WINAPI_FAMILY_PARTITION ) && \
- !WINAPI_FAMILY_PARTITION( WINAPI_PARTITION_DESKTOP )
+#if defined( WINAPI_FAMILY ) && WINAPI_FAMILY != WINAPI_FAMILY_DESKTOP_APP
#define PACK_DWORD64( hi, lo ) ( ( (DWORD64)(hi) << 32 ) | (DWORD)(lo) )