You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
952 B
23 lines
952 B
diff --git a/third_party/zlib/contrib/minizip/iowin32.c b/third_party/zlib/contrib/minizip/iowin32.c
|
|
index 246ceb91a139..c6bc314b3c28 100644
|
|
--- a/third_party/zlib/contrib/minizip/iowin32.c
|
|
+++ b/third_party/zlib/contrib/minizip/iowin32.c
|
|
@@ -31,14 +31,12 @@
|
|
#define _WIN32_WINNT 0x601
|
|
#endif
|
|
|
|
-#if _WIN32_WINNT >= _WIN32_WINNT_WIN8
|
|
-// see Include/shared/winapifamily.h in the Windows Kit
|
|
-#if defined(WINAPI_FAMILY_PARTITION) && (!(defined(IOWIN32_USING_WINRT_API)))
|
|
-#if WINAPI_FAMILY_ONE_PARTITION(WINAPI_FAMILY, WINAPI_PARTITION_APP)
|
|
+#if !defined(IOWIN32_USING_WINRT_API)
|
|
+#if defined(WINAPI_FAMILY) && (WINAPI_FAMILY == WINAPI_FAMILY_APP)
|
|
+// Windows Store or Universal Windows Platform
|
|
#define IOWIN32_USING_WINRT_API 1
|
|
#endif
|
|
#endif
|
|
-#endif
|
|
|
|
voidpf ZCALLBACK win32_open_file_func OF((voidpf opaque, const char* filename, int mode));
|
|
uLong ZCALLBACK win32_read_file_func OF((voidpf opaque, voidpf stream, void* buf, uLong size));
|