1#ifndef __FORCEINLINE_HPP__
2#define __FORCEINLINE_HPP__
3
4#if defined(__GNUC__)
5# define etcpak_force_inline __attribute__((always_inline)) inline
6#elif defined(_MSC_VER)
7# define etcpak_force_inline __forceinline
8#else
9# define etcpak_force_inline inline
10#endif
11
12#if defined(__GNUC__)
13# define etcpak_no_inline __attribute__((noinline))
14#elif defined(_MSC_VER)
15# define etcpak_no_inline __declspec(noinline)
16#else
17# define etcpak_no_inline
18#endif
19
20#endif
21