]> git.pld-linux.org Git - packages/crossmingw32-w32api.git/commitdiff
- added winapifamily.h header to winapi-update patch; release 8 auto/th/crossmingw32-w32api-5.0.2-8
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 28 Jul 2020 17:37:12 +0000 (19:37 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Tue, 28 Jul 2020 17:37:12 +0000 (19:37 +0200)
crossmingw32-w32api-winapi-update.patch
crossmingw32-w32api.spec

index ab842a02464906635f2fa27d5b77bba42365c2b0..bf48a01e1bc3c6a74590b478fd5f808e84bdc9ab 100644 (file)
  #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 @@
index 4eceb9db839311ec6d553f926c5e6c05463800f1..a7c4abe138a740f84b586e0a95eaf6b6656cc988 100644 (file)
@@ -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
This page took 0.291908 seconds and 4 git commands to generate.