summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2014-06-23 04:49:41 +0000
committerXavier Roche <xroche@users.noreply.github.com>2014-06-23 04:49:41 +0000
commitc722368dc0cf4b004773abea9f7233b3300e8f90 (patch)
tree8d69faf683dfad32697463c361393e495816337b
parentb1367feadefc707c4d1525ac79c59f3c080f6a76 (diff)
Emergency fixing Invalid address alignment issues on Android
-rw-r--r--src/coucal.c5
1 files changed, 5 insertions, 0 deletions
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"