mirror of
https://github.com/isar/libmdbx.git
synced 2024-12-30 02:54:13 +08:00
mdbx: уточнение макроса __always_inline
для особо яблочных компиляторов (backport).
This commit is contained in:
parent
458f713c53
commit
12e6c631f1
@ -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 */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user