diff --git a/include/zlib/contrib/minizip/iowin32.c b/include/zlib/contrib/minizip/iowin32.c index 7c86140bc1..5361b502da 100644 --- a/include/zlib/contrib/minizip/iowin32.c +++ b/include/zlib/contrib/minizip/iowin32.c @@ -28,12 +28,12 @@ #if (_WIN32_WINNT >= 0x0602) // OpenMPT // see Include/shared/winapifamily.h in the Windows Kit +#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 defined(WINAPI_FAMILY_PARTITION) && (!(defined(IOWIN32_USING_WINRT_API))) #if 1 // OpenMPT #if !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) && WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) // OpenMPT #define IOWIN32_USING_WINRT_API 1 // OpenMPT