LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File zlib-1.2.8-nowinrt.patch of Package mingw64-zlib (Project home:Ximi1970:Toolchains:MinGW:latest:win64)

--- zlib-1.2.8/contrib/minizip/iowin32.c	2013-04-29 00:57:11.000000000 +0200
+++ zlib-1.2.8/contrib/minizip/iowin32.c	2014-02-15 20:20:02.509413206 +0100
@@ -26,10 +26,8 @@
 #endif
 
 
-#if defined(WINAPI_FAMILY_PARTITION) && (!(defined(IOWIN32_USING_WINRT_API)))
-#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
-#define IOWIN32_USING_WINRT_API 1
-#endif
+#ifdef IOWIN32_USING_WINRT_API
+#undef IOWIN32_USING_WINRT_API
 #endif
 
 voidpf  ZCALLBACK win32_open_file_func  OF((voidpf opaque, const char* filename, int mode));