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