Files
godot-angle-static/godot-patches/patch_zlib.diff
Pāvels Nadtočajevs b59d3589ba Update Angle to chromium/7219
2025-06-09 10:26:11 +03:00

14 lines
443 B
Diff

diff --git a/third_party/zlib/cpu_features.c b/third_party/zlib/cpu_features.c
index 64e0428..1332971 100644
--- a/third_party/zlib/cpu_features.c
+++ b/third_party/zlib/cpu_features.c
@@ -11,7 +11,7 @@
#include <stdint.h>
#if defined(_MSC_VER)
#include <intrin.h>
-#elif defined(ADLER32_SIMD_SSSE3)
+#elif defined(ADLER32_SIMD_SSSE3) || (defined(MINGW_ENABLED) && (defined(__i386__) || defined(__x86_64__)))
#include <cpuid.h>
#endif