From eec2b5e06bdb01d20f1a1125074a379e0b154d80 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Tue, 30 Dec 2025 11:33:08 +0100 Subject: Change __warning_if into __fortify_warning_if to fix potential conflicts --- include/fortify-headers.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/fortify-headers.h') diff --git a/include/fortify-headers.h b/include/fortify-headers.h index b0bee87..c32d5fb 100644 --- a/include/fortify-headers.h +++ b/include/fortify-headers.h @@ -74,9 +74,9 @@ #endif #if __has_attribute (__diagnose_if) -#define __warning_if(cond, msg) __attribute__ ((__diagnose_if (cond, msg, "warning"))) +#define __fortify_warning_if(cond, msg) __attribute__ ((__diagnose_if (cond, msg, "warning"))) #else -#define __warning_if(cond, msg) +#define __fortify_warning_if(cond, msg) #endif #endif -- cgit v1.3