termux-packages/packages/glib/glib-gtypes.h.patch

14 lines
261 B
Diff
Raw Normal View History

--- a/glib/gtypes.h
+++ b/glib/gtypes.h
@@ -429,6 +429,10 @@
#endif
#endif
+#if defined __clang__ && defined __arm__
+#undef _GLIB_HAVE_BUILTIN_OVERFLOW_CHECKS
+#endif
+
#ifdef _GLIB_HAVE_BUILTIN_OVERFLOW_CHECKS
#define g_uint_checked_add(dest, a, b) \