aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/t1ha/t1ha.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-01-19 10:57:44 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-01-19 10:57:44 +0000
commitccdc07b5e3d68f6cebbef33cb4e3cf8307d54f7c (patch)
treee48b978efc9c37ac16e7b848e0e0a4191767990a /contrib/t1ha/t1ha.h
parentb19affd0edb349a69e954b1840d6be9dadbd5e84 (diff)
downloadrspamd-ccdc07b5e3d68f6cebbef33cb4e3cf8307d54f7c.tar.gz
rspamd-ccdc07b5e3d68f6cebbef33cb4e3cf8307d54f7c.zip
[Minor] One more definition missed on Linux
Diffstat (limited to 'contrib/t1ha/t1ha.h')
-rw-r--r--contrib/t1ha/t1ha.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/t1ha/t1ha.h b/contrib/t1ha/t1ha.h
index c41f5c529..2f6e48e3f 100644
--- a/contrib/t1ha/t1ha.h
+++ b/contrib/t1ha/t1ha.h
@@ -44,6 +44,9 @@
#include <string.h>
#include <stddef.h>
+#ifndef __has_attribute
+#define __has_attribute(x) (0)
+#endif
#ifndef __has_builtin
#define __has_builtin(x) (0)
#endif