From f88dc81a1bb310a982ccdba66b2d9373740ce750 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Wed, 9 Oct 2024 15:26:03 -0700 Subject: [PATCH] glib/gmacros: no_sanitize_address and ifunc fallbacks Allow these to be checked for so that we can avoid compiler checks in various places. --- glib/gmacros.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/glib/gmacros.h b/glib/gmacros.h index ea924a8ca..d5b2f30c1 100644 --- a/glib/gmacros.h +++ b/glib/gmacros.h @@ -190,6 +190,8 @@ #define g_macro__has_attribute_fallthrough G_GNUC_CHECK_VERSION (6, 0) #define g_macro__has_attribute_may_alias G_GNUC_CHECK_VERSION (3, 3) #define g_macro__has_attribute_warn_unused_result G_GNUC_CHECK_VERSION (3, 4) +#define g_macro__has_attribute_no_sanitize_address 0 +#define g_macro__has_attribute_ifunc 0 #endif