summaryrefslogtreecommitdiffstats
path: root/src/rspamd.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2023-03-25 14:58:50 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2023-03-25 14:58:50 +0000
commitffbaf1667488eac079295f1c65b50d8a62c60fdc (patch)
tree2d2732232fb377e0c25f50e78fb5e253bb5bedb4 /src/rspamd.c
parenta78ea818c2557446959b6a6ed414becb5f9b209d (diff)
downloadrspamd-ffbaf1667488eac079295f1c65b50d8a62c60fdc.tar.gz
rspamd-ffbaf1667488eac079295f1c65b50d8a62c60fdc.zip
[Minor] Uh-oh, fix compilers compatibility
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");