commit f099102: [Minor] A more universal one..
Vsevolod Stakhov
vsevolod at rspamd.com
Sat Mar 25 15:07:03 UTC 2023
Author: Vsevolod Stakhov
Date: 2023-03-25 14:59:48 +0000
URL: https://github.com/rspamd/rspamd/commit/f099102888d59009280ece11c621c4a5dc25a9e8 (HEAD -> master)
[Minor] A more universal one..
---
src/rspamd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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");
More information about the Commits
mailing list