浏览代码

fixed VC issue with VC

albertodemichelis 9 年之前
父节点
当前提交
3019ac3c2c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/squirrel.h

+ 1 - 1
include/squirrel.h

@@ -400,7 +400,7 @@ SQUIRREL_API void sq_setnativedebughook(HSQUIRRELVM v,SQDEBUGHOOK hook);
 #ifdef __GNUC__
 # define SQ_UNUSED_ARG(x) __attribute__((unused)) x
 #else
-# define SQ_UNUSED_ARG(x) 
+# define SQ_UNUSED_ARG(x) x
 #endif
 
 #ifdef __cplusplus