mirror of https://github.com/madler/zlib
Fix compile with Windows 10 SDK. (gvollant)
This commit is contained in:
parent
05796d3d8d
commit
ce12773790
|
@ -28,6 +28,11 @@
|
||||||
|
|
||||||
// see Include/shared/winapifamily.h in the Windows Kit
|
// see Include/shared/winapifamily.h in the Windows Kit
|
||||||
#if defined(WINAPI_FAMILY_PARTITION) && (!(defined(IOWIN32_USING_WINRT_API)))
|
#if defined(WINAPI_FAMILY_PARTITION) && (!(defined(IOWIN32_USING_WINRT_API)))
|
||||||
|
|
||||||
|
#if !defined(WINAPI_FAMILY_ONE_PARTITION)
|
||||||
|
#define WINAPI_FAMILY_ONE_PARTITION(PartitionSet, Partition) ((WINAPI_FAMILY & PartitionSet) == Partition)
|
||||||
|
#endif
|
||||||
|
|
||||||
#if WINAPI_FAMILY_ONE_PARTITION(WINAPI_FAMILY, WINAPI_PARTITION_APP)
|
#if WINAPI_FAMILY_ONE_PARTITION(WINAPI_FAMILY, WINAPI_PARTITION_APP)
|
||||||
#define IOWIN32_USING_WINRT_API 1
|
#define IOWIN32_USING_WINRT_API 1
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue