#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 @@
%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
%{_includedir}/vptype.h
%{_includedir}/w32api.h
%{_includedir}/winable.h
+%{_includedir}/winapifamily.h
%{_includedir}/winbase.h
%{_includedir}/winber.h
%{_includedir}/wincon.h