From eda424ff715d57e1e7eccba467bff885cb843540 Mon Sep 17 00:00:00 2001 From: Leo Yuriev Date: Thu, 1 Nov 2018 21:00:25 +0300 Subject: [PATCH] mdbx: rename __always_inline. --- src/defs.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/defs.h b/src/defs.h index 4b045efc..fb60b310 100644 --- a/src/defs.h +++ b/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)