From c722368dc0cf4b004773abea9f7233b3300e8f90 Mon Sep 17 00:00:00 2001 From: Xavier Roche Date: Mon, 23 Jun 2014 04:49:41 +0000 Subject: Emergency fixing Invalid address alignment issues on Android --- src/coucal.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/coucal.c b/src/coucal.c index 93bad6e..21db4eb 100644 --- a/src/coucal.c +++ b/src/coucal.c @@ -58,8 +58,13 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. once ] */ #if (!defined(HTS_INTHASH_USES_MD5) && !defined(HTS_INTHASH_USES_MURMUR)) +/* Temporry: fixing Invalid address alignment issues */ +#ifdef defined(__ANDROID__) +#define HTS_INTHASH_USES_MD5 1 +#else #define HTS_INTHASH_USES_MURMUR 1 #endif +#endif #if (defined(HTS_INTHASH_USES_MURMUR)) #include "murmurhash3.h" -- cgit v1.2.3