freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2] master ed4d0710f: [builds/windows] Simplify non-desktop UWP


From: Werner Lemberg
Subject: [freetype2] master ed4d0710f: [builds/windows] Simplify non-desktop UWP check.
Date: Mon, 25 Apr 2022 19:10:21 -0400 (EDT)

branch: master
commit ed4d0710f14878b51ce1885e0f3221e2d6d97a5a
Author: Alexei Podtelezhnikov <apodtele@gmail.com>
Commit: Alexei Podtelezhnikov <apodtele@gmail.com>

    [builds/windows] Simplify non-desktop UWP check.
    
    Fixes mingw compilation described in !159.
    
    * builds/windows/ftsystem.c: Do not use WINAPI_FAMILY_PARTITION macro.
---
 builds/windows/ftsystem.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/builds/windows/ftsystem.c b/builds/windows/ftsystem.c
index 4f4ac15f3..6557cea1a 100644
--- 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) )
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]