Files
LifeProject/LifeCore/tools/Inline.h
T

19 lines
328 B
C++
Raw Normal View History

2025-05-13 02:46:21 +03:00
#ifndef Inline_h__
#define Inline_h__
#include "CompilerDetect.h"
namespace LifeCore{
#if defined(COMPILER_MSVC)
#define FORCEINLINE __forceinline
#elif defined(COMPILER_GCC)
#define FORCEINLINE __attribute__((always_inline))
#else
#define FORCEINLINE inline
#endif
#define INLINE inline
}
#endif // Inline_h__