mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-15 07:01:42 +03:00
Specify 'inline' in addition to always_inline attribute.
Specify both inline and __attribute__((always_inline)), in order to avoid warnings when using newer versions of gcc.
This commit is contained in:
parent
d1b6e18a99
commit
dd0438ee6b
1 changed files with 1 additions and 1 deletions
|
|
@ -241,7 +241,7 @@ static const bool config_ivsalloc =
|
|||
# define JEMALLOC_ENABLE_INLINE
|
||||
# ifdef JEMALLOC_HAVE_ATTR
|
||||
# define JEMALLOC_ALWAYS_INLINE \
|
||||
static JEMALLOC_ATTR(unused) JEMALLOC_ATTR(always_inline)
|
||||
static inline JEMALLOC_ATTR(unused) JEMALLOC_ATTR(always_inline)
|
||||
# else
|
||||
# define JEMALLOC_ALWAYS_INLINE static inline
|
||||
# endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue