分类:
版权声明:本文为博主原创文章,未经博主允许不得转载。
使用vs2008编译c文件时,可能遇到出现 inline”之后应输入“(”错误!
解决方案是:在该头文件中加入
#if defined(WIN32) && !defined(__cplusplus)
#define inline __inline
#endif
版权声明:本文为博主原创文章,未经博主允许不得转载。
使用vs2008编译c文件时,可能遇到出现 inline”之后应输入“(”错误!
解决方案是:在该头文件中加入
#if defined(WIN32) && !defined(__cplusplus)
#define inline __inline
#endif