mdbx: add __ARM_FEATURE_UNALIGNED __e2k__ for UNALIGNED_OK.

This commit is contained in:
Leo Yuriev 2018-03-19 19:59:00 +03:00
parent d0e1c02a8a
commit e8dd15088a

View File

@ -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