From ffbaf1667488eac079295f1c65b50d8a62c60fdc Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 25 Mar 2023 14:58:50 +0000 Subject: [PATCH] [Minor] Uh-oh, fix compilers compatibility --- src/rspamd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rspamd.c b/src/rspamd.c index afc027080..e1e7220b1 100644 --- a/src/rspamd.c +++ b/src/rspamd.c @@ -1296,7 +1296,7 @@ version (void) #else rspamd_printf ("LuaJIT enabled: FALSE\n"); #endif -#if __has_feature(address_sanitizer) +#if defined(__has_feature) && __has_feature(address_sanitizer) rspamd_printf ("ASAN enabled: TRUE\n"); #else rspamd_printf ("ASAN enabled: FALSE\n"); -- 2.39.5