mdbx: уточнение макроса __always_inline для особо яблочных компиляторов (backport).

This commit is contained in:
Леонид Юрьев (Leonid Yuriev) 2024-05-20 18:26:45 +03:00
parent 458f713c53
commit 12e6c631f1

View File

@ -88,6 +88,10 @@
#define __has_extension(x) (0) #define __has_extension(x) (0)
#endif #endif
#ifndef __has_builtin
#define __has_builtin(x) (0)
#endif
#if __has_feature(thread_sanitizer) #if __has_feature(thread_sanitizer)
#define __SANITIZE_THREAD__ 1 #define __SANITIZE_THREAD__ 1
#endif #endif
@ -512,7 +516,7 @@ __extern_C key_t ftok(const char *, int);
#elif defined(_MSC_VER) #elif defined(_MSC_VER)
#define __always_inline __forceinline #define __always_inline __forceinline
#else #else
#define __always_inline #define __always_inline __inline
#endif #endif
#endif /* __always_inline */ #endif /* __always_inline */