vcpkg/ports/minizip/0004-define.patch
Alexander Neumann 4ad8fc2a83
[Minizip] enable clang-cl builds (#25960)
* minizip enable clang-cl builds

* v db

* update scripts in port

* v db
2022-07-25 14:39:36 -07:00

14 lines
519 B
Diff

diff --git a/contrib/minizip/iowin32.c b/contrib/minizip/iowin32.c
index 274f39eb1..9736fbb0f 100644
--- a/contrib/minizip/iowin32.c
+++ b/contrib/minizip/iowin32.c
@@ -27,7 +27,7 @@
// 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) && (!(defined(IOWIN32_USING_WINRT_API)))
#if WINAPI_FAMILY_ONE_PARTITION(WINAPI_FAMILY, WINAPI_PARTITION_APP)
#define IOWIN32_USING_WINRT_API 1
#endif