From e8dd15088ad6620a7e3b647a789e29012f2580cb Mon Sep 17 00:00:00 2001 From: Leo Yuriev Date: Mon, 19 Mar 2018 19:59:00 +0300 Subject: [PATCH] mdbx: add __ARM_FEATURE_UNALIGNED __e2k__ for UNALIGNED_OK. --- src/osal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osal.h b/src/osal.h index 1b5c45a8..3cd7d84c 100644 --- a/src/osal.h +++ b/src/osal.h @@ -120,7 +120,7 @@ typedef pthread_mutex_t mdbx_fastmutex_t; #if !defined(UNALIGNED_OK) #if defined(__i386) || defined(__x86_64__) || defined(_M_IX86) || \ defined(_M_X64) || defined(i386) || defined(_X86_) || defined(__i386__) || \ - defined(_X86_64_) + defined(_X86_64_) || defined(__ARM_FEATURE_UNALIGNED) || defined(__e2k__) #define UNALIGNED_OK 1 #else #define UNALIGNED_OK 0