*
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#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__
|
||||
Reference in New Issue
Block a user