aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamd.c
diff options
context:
space:
mode:
authorIvan Stakhov <50211739+left-try@users.noreply.github.com>2024-10-19 18:23:18 +0300
committerGitHub <noreply@github.com>2024-10-19 18:23:18 +0300
commit7ca76b8768adcdd1205b7bc8c7000be3bbc281fe (patch)
treec273e6772e14b585306930976852508356805d0f /src/rspamd.c
parent3d02f65dcb90ae02ab840df8495f71655bd4cbbc (diff)
parentc9b804517d25168ed4c03c70fcc808d38b86e785 (diff)
downloadrspamd-7ca76b8768adcdd1205b7bc8c7000be3bbc281fe.tar.gz
rspamd-7ca76b8768adcdd1205b7bc8c7000be3bbc281fe.zip
Merge branch 'rspamd:master' into master
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 b6c361cb2..6c204e266 100644
--- a/src/rspamd.c
+++ b/src/rspamd.c
@@ -1326,7 +1326,7 @@ version(struct rspamd_main *rspamd_main)
#ifndef __has_feature
#define __has_feature(x) 0
#endif
-#if (defined(__has_feature) && __has_feature(address_sanitizer)) || defined(ADDRESS_SANITIZER)
+#if (defined(__has_feature) && __has_feature(address_sanitizer)) || defined(ADDRESS_SANITIZER) || defined(__SANITIZE_ADDRESS__)
rspamd_printf("ASAN enabled: TRUE\n");
#else
rspamd_printf("ASAN enabled: FALSE\n");