Make GCC happy with inline

This commit is contained in:
Matthew Parkinson
2019-07-02 15:38:28 +01:00
parent b74116e209
commit 54879fbb4a

View File

@@ -22,7 +22,7 @@
# define ALWAYSINLINE __attribute__((always_inline))
# define NOINLINE __attribute__((noinline))
# define SNMALLOC_SLOW_PATH NOINLINE
# define SNMALLOC_FAST_PATH ALWAYSINLINE
# define SNMALLOC_FAST_PATH inline ALWAYSINLINE
# define SNMALLOC_PURE __attribute__((const))
# ifdef __clang__
# define HEADER_GLOBAL __attribute__((selectany))