aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2023-03-25 14:59:48 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2023-03-25 14:59:48 +0000
commitf099102888d59009280ece11c621c4a5dc25a9e8 (patch)
tree2e7d67f65e52161ceaa0d24c67ee585fbc3084f7
parentffbaf1667488eac079295f1c65b50d8a62c60fdc (diff)
downloadrspamd-f099102888d59009280ece11c621c4a5dc25a9e8.tar.gz
rspamd-f099102888d59009280ece11c621c4a5dc25a9e8.zip
[Minor] A more universal one..
-rw-r--r--src/rspamd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rspamd.c b/src/rspamd.c
index e1e7220b1..bba989a2c 100644
--- a/src/rspamd.c
+++ b/src/rspamd.c
@@ -1296,7 +1296,7 @@ version (void)
#else
rspamd_printf ("LuaJIT enabled: FALSE\n");
#endif
-#if defined(__has_feature) && __has_feature(address_sanitizer)
+#if (defined(__has_feature) && __has_feature(address_sanitizer)) || defined(ADDRESS_SANITIZER)
rspamd_printf ("ASAN enabled: TRUE\n");
#else
rspamd_printf ("ASAN enabled: FALSE\n");