From: Jakub Bogusz Date: Tue, 28 Jul 2020 17:37:12 +0000 (+0200) Subject: - added winapifamily.h header to winapi-update patch; release 8 X-Git-Tag: auto/th/crossmingw32-w32api-5.0.2-8 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=d534031a243cbf2bf90cc4f33fc166b81719ec01;p=packages%2Fcrossmingw32-w32api.git - added winapifamily.h header to winapi-update patch; release 8 --- diff --git a/crossmingw32-w32api-winapi-update.patch b/crossmingw32-w32api-winapi-update.patch index ab842a0..bf48a01 100644 --- a/crossmingw32-w32api-winapi-update.patch +++ b/crossmingw32-w32api-winapi-update.patch @@ -6866,6 +6866,33 @@ #if (_WIN32_WINNT >= 0x0500) /* W2K */ BOOL WINAPI ILIsEqual(LPCITEMIDLIST, LPCITEMIDLIST); BOOL WINAPI ILIsParent(LPCITEMIDLIST, LPCITEMIDLIST, BOOL); +--- w32api-5.0.2/include/winapifamily.h.orig 1970-01-01 01:00:00.000000000 +0100 ++++ w32api-5.0.2/include/winapifamily.h 2020-07-28 18:04:49.272345505 +0200 +@@ -0,0 +1,24 @@ ++/** ++ * This file is part of the mingw-w64 runtime package. ++ * No warranty is given; refer to the file DISCLAIMER within this package. ++ */ ++ ++#ifndef _INC_WINAPIFAMILY ++#define _INC_WINAPIFAMILY ++ ++#define WINAPI_PARTITION_DESKTOP 0x1 ++#define WINAPI_PARTITION_APP 0x2 ++ ++#define WINAPI_FAMILY_APP WINAPI_PARTITION_APP ++#define WINAPI_FAMILY_DESKTOP_APP (WINAPI_PARTITION_DESKTOP \ ++ | WINAPI_PARTITION_APP) ++ ++/* WINAPI_FAMILY can be either desktop + App, or App. */ ++#ifndef WINAPI_FAMILY ++#define WINAPI_FAMILY WINAPI_FAMILY_DESKTOP_APP ++#endif ++ ++#define WINAPI_FAMILY_PARTITION(v) ((WINAPI_FAMILY & v) == v) ++#define WINAPI_FAMILY_ONE_PARTITION(vset, v) ((WINAPI_FAMILY & vset) == v) ++ ++#endif --- w32api-5.0.2/include/winioctl.h.orig 2017-11-09 02:35:48.000000000 +0100 +++ w32api-5.0.2/include/winioctl.h 2019-03-17 21:22:23.789962347 +0100 @@ -96,6 +96,7 @@ diff --git a/crossmingw32-w32api.spec b/crossmingw32-w32api.spec index 4eceb9d..a7c4abe 100644 --- a/crossmingw32-w32api.spec +++ b/crossmingw32-w32api.spec @@ -6,7 +6,7 @@ Version: 5.0.2 %define apisrc w32api-%{apiver}-mingw32 %define runver 5.0.2 %define runsrc mingwrt-%{runver}-mingw32 -Release: 7 +Release: 8 Epoch: 1 License: Free (Public Domain, SGI Free Software License B, BSD) Group: Development/Libraries @@ -445,6 +445,7 @@ rm -rf $RPM_BUILD_ROOT %{_includedir}/vptype.h %{_includedir}/w32api.h %{_includedir}/winable.h +%{_includedir}/winapifamily.h %{_includedir}/winbase.h %{_includedir}/winber.h %{_includedir}/wincon.h