Sfoglia il codice sorgente

fixed VC issue with VC

albertodemichelis 9 anni fa
parent
commit
3019ac3c2c
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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