From 12e6c631f11c40e2b76ee6bc18b4c220541c3da1 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: Mon, 20 May 2024 18:26:45 +0300 Subject: [PATCH] =?UTF-8?q?mdbx:=20=D1=83=D1=82=D0=BE=D1=87=D0=BD=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D0=BC=D0=B0=D0=BA=D1=80=D0=BE=D1=81=D0=B0?= =?UTF-8?q?=20`=5F=5Falways=5Finline`=20=D0=B4=D0=BB=D1=8F=20=D0=BE=D1=81?= =?UTF-8?q?=D0=BE=D0=B1=D0=BE=20=D1=8F=D0=B1=D0=BB=D0=BE=D1=87=D0=BD=D1=8B?= =?UTF-8?q?=D1=85=20=D0=BA=D0=BE=D0=BC=D0=BF=D0=B8=D0=BB=D1=8F=D1=82=D0=BE?= =?UTF-8?q?=D1=80=D0=BE=D0=B2=20(backport).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/base.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/base.h b/src/base.h index 1c5871f6..3dde35fb 100644 --- a/src/base.h +++ b/src/base.h @@ -88,6 +88,10 @@ #define __has_extension(x) (0) #endif +#ifndef __has_builtin +#define __has_builtin(x) (0) +#endif + #if __has_feature(thread_sanitizer) #define __SANITIZE_THREAD__ 1 #endif @@ -512,7 +516,7 @@ __extern_C key_t ftok(const char *, int); #elif defined(_MSC_VER) #define __always_inline __forceinline #else -#define __always_inline +#define __always_inline __inline #endif #endif /* __always_inline */