blob: ad16ce9523b809696aeafa92b2553d8efdb3d72c [file] [log] [blame]
#pragma once
#if !defined(__has_attribute)
#define __has_attribute(x) 0
#endif
#if __has_attribute(always_inline)
#define ALWAYS_INLINE __attribute__((always_inline))
#elif defined(_MSC_VER)
#define ALWAYS_INLINE __forceinline
#else
#define ALWAYS_INLINE inline
#endif