android version can also be compiled for x86

and x86 has smaller alignment than arm or a x86_64 host,
so needs the MAX_ALIGNMENT_4 to not trigger the static_asserts

Change-Id: I5643a33e4975e7bad20693f99fb8bbd5248c7c1c
This commit is contained in:
Christian Lohmaier
2016-03-22 14:42:34 +01:00
parent e342822516
commit 449cededd7

View File

@@ -31,7 +31,8 @@
#if (defined(INTEL) \
&& (defined(__GNUC__) && (defined(LINUX) || defined(FREEBSD) || \
defined(NETBSD) || defined(OPENBSD) || \
defined(DRAGONFLY) || defined(SOLARIS)) \
defined(DRAGONFLY) || defined(SOLARIS) || \
defined(ANDROID)) \
|| defined(MACOSX) )) \
|| defined(IOS)
#define MAX_ALIGNMENT_4