[builds/windows] Simplify non-desktop UWP check.

Fixes mingw compilation described in !159.

* builds/windows/ftsystem.c: Do not use WINAPI_FAMILY_PARTITION macro.
This commit is contained in:
Alexei Podtelezhnikov 2022-04-25 19:05:11 -04:00
parent 581dd06405
commit ed4d0710f1
1 changed files with 1 additions and 2 deletions

View File

@ -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) )