fixed VC issue with VC

This commit is contained in:
albertodemichelis 2016-07-30 19:13:29 +08:00
parent 5e4bcebc6f
commit 3019ac3c2c

View File

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