From 5e4bcebc6fe85df4d2abe0c8e433894cdbdf076c Mon Sep 17 00:00:00 2001 From: albertodemichelis Date: Sat, 30 Jul 2016 19:13:05 +0800 Subject: [PATCH] fixed VC issue with SQ_UNUSED_ARG --- include/squirrel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/squirrel.h b/include/squirrel.h index 37332a9..49f26b4 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) #endif #ifdef __cplusplus