提交 b595c14a 编写于 作者: B Blue Swirl

Avoid redefining inline

System headers (e.g. gutils.h) may define 'inline', #undefine it
before #defining.
Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
上级 0ed8b6f6
......@@ -70,10 +70,12 @@ typedef signed int int_fast16_t;
#ifndef always_inline
#if !((__GNUC__ < 3) || defined(__APPLE__))
#ifdef __OPTIMIZE__
#undef inline
#define inline __attribute__ (( always_inline )) __inline__
#endif
#endif
#else
#undef inline
#define inline always_inline
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册