aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/t1ha/t1ha.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-05-08 20:44:10 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-05-08 20:51:51 +0100
commitb563e16adb19086f99f9ecf6b3c3636f44229758 (patch)
treef01b682c18f936a8a9a38d032b3152da4027046d /contrib/t1ha/t1ha.h
parentcadf72e2007bb0617eec5f0076c36ade9245bc25 (diff)
downloadrspamd-b563e16adb19086f99f9ecf6b3c3636f44229758.tar.gz
rspamd-b563e16adb19086f99f9ecf6b3c3636f44229758.zip
[Fix] Fix build on non-x86 platforms
Issue: #2226
Diffstat (limited to 'contrib/t1ha/t1ha.h')
-rw-r--r--contrib/t1ha/t1ha.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/t1ha/t1ha.h b/contrib/t1ha/t1ha.h
index 30c408c87..191758c57 100644
--- a/contrib/t1ha/t1ha.h
+++ b/contrib/t1ha/t1ha.h
@@ -217,13 +217,13 @@
#define T1HA_API
#endif /* T1HA_API */
-#if defined(_MSC_VER) && defined(__ia32__)
+#if defined(_MSC_VER)
#define T1HA_ALIGN_PREFIX __declspec(align(32)) /* required only for SIMD */
#else
#define T1HA_ALIGN_PREFIX
#endif /* _MSC_VER */
-#if defined(__GNUC__) && defined(__ia32__)
+#if defined(__GNUC__)
#define T1HA_ALIGN_SUFFIX \
__attribute__((aligned(32))) /* required only for SIMD */
#else