aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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