From c37fb505326dbe4120745d798a39f05041791c03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9B=D0=B5=D0=BE=D0=BD=D0=B8=D0=B4=20=D0=AE=D1=80=D1=8C?= =?UTF-8?q?=D0=B5=D0=B2=20=28Leonid=20Yuriev=29?= Date: Tue, 26 Jul 2022 14:29:22 +0300 Subject: [PATCH] mdbx: more for `__amd64__` macro. --- src/base.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/base.h b/src/base.h index 08c2492c..14ec5e78 100644 --- a/src/base.h +++ b/src/base.h @@ -306,8 +306,9 @@ __extern_C key_t ftok(const char *, int); /* LY: define neutral __ia32__ for x86 and x86-64 */ #define __ia32__ 1 #endif /* __ia32__ */ -#if !defined(__amd64__) && (defined(__x86_64) || defined(__x86_64__) || \ - defined(__amd64) || defined(_M_X64)) +#if !defined(__amd64__) && \ + (defined(__x86_64) || defined(__x86_64__) || defined(__amd64) || \ + defined(_M_X64) || defined(_M_AMD64)) /* LY: define trusty __amd64__ for all AMD64/x86-64 arch */ #define __amd64__ 1 #endif /* __amd64__ */