diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-10-14 19:01:43 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-10-14 19:01:43 +0100 |
commit | d9253d8b31e9a99d9f15d85941c5cc1d34dac28f (patch) | |
tree | c44d2124bae6fe5c5b18ba2263dd6a21f5d7f05f /src | |
parent | 0d962621f158e0b64693e947beecb3242a229fd2 (diff) | |
download | rspamd-d9253d8b31e9a99d9f15d85941c5cc1d34dac28f.tar.gz rspamd-d9253d8b31e9a99d9f15d85941c5cc1d34dac28f.zip |
[Minor] Fix GCC sanitizer
Diffstat (limited to 'src')
-rw-r--r-- | src/rspamd.c | 2 |
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"); |