ARM: Fix 64 bit unaligned access in MurmurHash64A().

This commit is contained in:
Salvatore Sanfilippo
2017-02-19 14:01:58 +00:00
parent f917e0da4c
commit 1e272a6b52
2 changed files with 10 additions and 0 deletions

View File

@ -206,4 +206,10 @@ void setproctitle(const char *fmt, ...);
#endif
#endif
/* Make sure we can test for ARM just checking for __arm__, since sometimes
* __arm is defined but __arm__ is not. */
#if defined(__arm) && !defined(__arm__)
#define __arm__
#endif
#endif