From 2e324c9842457e98bd89771cd2e97e1d22c5e82b Mon Sep 17 00:00:00 2001 From: Sacha Date: Mon, 4 Nov 2013 12:45:13 +1000 Subject: [PATCH] Define unaligned access for all ARM. We don't support any that don't. The define didn't exist yet in GCC 4.6 (used by Symbian and Android). --- ext/xxhash.c | 2 +- lang | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/xxhash.c b/ext/xxhash.c index 2870545471..b580da1e45 100644 --- a/ext/xxhash.c +++ b/ext/xxhash.c @@ -38,7 +38,7 @@ You can contact the author at : // For others CPU, the compiler will be more cautious, and insert extra code to ensure aligned access is respected. // If you know your target CPU supports unaligned memory access, you want to force this option manually to improve performance. // You can also enable this parameter if you know your input data will always be aligned (boundaries of 4, for U32). -#if defined(__ARM_FEATURE_UNALIGNED) || defined(__i386) || defined(_M_IX86) || defined(__x86_64__) || defined(_M_X64) +#if defined(ARM) || defined(__i386) || defined(_M_IX86) || defined(__x86_64__) || defined(_M_X64) # define XXH_USE_UNALIGNED_ACCESS 1 #endif diff --git a/lang b/lang index 4ed6ae5b86..0031540033 160000 --- a/lang +++ b/lang @@ -1 +1 @@ -Subproject commit 4ed6ae5b867b27d24a838fb83d8f0d921132343a +Subproject commit 003154003358c1919affef0d8013d9fbdbf35510