pineapple-src/externals/vcpkg/ports/angle/third-party-zlib-far-undef.patch

14 lines
388 B
Diff
Raw Normal View History

2022-07-23 03:01:36 +02:00
diff --git a/google/compression_utils_portable.h b/google/compression_utils_portable.h
--- a/google/compression_utils_portable.h
+++ b/google/compression_utils_portable.h
@@ -13,6 +13,9 @@
* zlib.
*/
#if defined(USE_SYSTEM_ZLIB)
+# if defined(WIN32) && defined(FAR)
+# undef FAR
+# endif
#include <zlib.h>
/* AOSP build requires relative paths. */
#else