提交 29fb9cc9 编写于 作者: J jp9000

Fix FORCE_INLINE macro

Accidentally put the code within a _MSC_VER #ifdef, causing the macro to
not be found on non-VC compilers
上级 20fd2c82
......@@ -21,6 +21,12 @@
* bool, inline, stdint
*/
#ifdef _MSC_VER
#define FORCE_INLINE __forceinline
#else
#define FORCE_INLINE __attribute__(always_inline)
#endif
#ifdef _MSC_VER
#pragma warning (disable : 4996)
......@@ -36,12 +42,6 @@
#define inline __inline
#endif
#ifdef _MSC_VER
#define FORCE_INLINE __forceinline
#else
#define FORCE_INLINE __attribute__(always_inline)
#endif
#define EXPORT __declspec(dllexport)
#else
#define EXPORT
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册