summaryrefslogtreecommitdiffstats
path: root/src/rspamd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rspamd.c')
-rw-r--r--src/rspamd.c2
1 files changed, 1 insertions, 1 deletions
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");