summaryrefslogtreecommitdiffstats
path: root/src/rspamd.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2023-03-25 15:26:34 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2023-03-25 15:26:34 +0000
commit53abb8d36c8cacc95a07c675b04cbd7c18b91ce8 (patch)
tree9248cdd0e9c06529b2deea6ff19ba7481409a879 /src/rspamd.c
parent776f4119d3ad7e6cc3a93b34b14f4f6d920a7ce6 (diff)
downloadrspamd-53abb8d36c8cacc95a07c675b04cbd7c18b91ce8.tar.gz
rspamd-53abb8d36c8cacc95a07c675b04cbd7c18b91ce8.zip
[Minor] Sigh, some more portability for gcc
Diffstat (limited to 'src/rspamd.c')
-rw-r--r--src/rspamd.c3
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