From 3019ac3c2c96da24699813d4a0b3914891e0d63f Mon Sep 17 00:00:00 2001 From: albertodemichelis Date: Sat, 30 Jul 2016 19:13:29 +0800 Subject: [PATCH] fixed VC issue with VC --- include/squirrel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/squirrel.h b/include/squirrel.h index 49f26b4..f0f3e64 100644 --- a/include/squirrel.h +++ b/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