diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-03-25 15:26:34 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-03-25 15:26:34 +0000 |
commit | 53abb8d36c8cacc95a07c675b04cbd7c18b91ce8 (patch) | |
tree | 9248cdd0e9c06529b2deea6ff19ba7481409a879 /src/rspamd.c | |
parent | 776f4119d3ad7e6cc3a93b34b14f4f6d920a7ce6 (diff) | |
download | rspamd-53abb8d36c8cacc95a07c675b04cbd7c18b91ce8.tar.gz rspamd-53abb8d36c8cacc95a07c675b04cbd7c18b91ce8.zip |
[Minor] Sigh, some more portability for gcc
Diffstat (limited to 'src/rspamd.c')
-rw-r--r-- | src/rspamd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rspamd.c b/src/rspamd.c index 12ff6e27d..bcc4e56dd 100644 --- a/src/rspamd.c +++ b/src/rspamd.c @@ -1291,6 +1291,9 @@ version (void) #else rspamd_printf ("LuaJIT enabled: FALSE\n"); #endif +#ifndef __has_feature +# define __has_feature(x) 0 +#endif #if (defined(__has_feature) && __has_feature(address_sanitizer)) || defined(ADDRESS_SANITIZER) rspamd_printf ("ASAN enabled: TRUE\n"); #else |