mirror of
https://github.com/isar/libmdbx.git
synced 2024-10-30 11:29:19 +08:00
mdbx: rename __always_inline.
This commit is contained in:
parent
d5320d9252
commit
eda424ff71
10
src/defs.h
10
src/defs.h
@ -103,15 +103,15 @@
|
||||
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#ifndef __alwaysinline
|
||||
#ifndef __always_inline
|
||||
# if defined(__GNUC__) || __has_attribute(always_inline)
|
||||
# define __alwaysinline __inline __attribute__((always_inline))
|
||||
# define __always_inline __inline __attribute__((always_inline))
|
||||
# elif defined(_MSC_VER)
|
||||
# define __alwaysinline __forceinline
|
||||
# define __always_inline __forceinline
|
||||
# else
|
||||
# define __alwaysinline
|
||||
# define __always_inline
|
||||
# endif
|
||||
#endif /* __alwaysinline */
|
||||
#endif /* __always_inline */
|
||||
|
||||
#ifndef __noinline
|
||||
# if defined(__GNUC__) || __has_attribute(noinline)
|
||||
|
Loading…
Reference in New Issue
Block a user