fixed VC issue with SQ_UNUSED_ARG

This commit is contained in:
albertodemichelis 2016-07-30 19:13:05 +08:00
parent 17124aa789
commit 5e4bcebc6f

View File

@ -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