Selaa lähdekoodia

fixed VC issue with VC

albertodemichelis 9 vuotta sitten
vanhempi
commit
3019ac3c2c
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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