diff --git a/corec/corec/portab.h b/corec/corec/portab.h index a4825124..962e774a 100644 --- a/corec/corec/portab.h +++ b/corec/corec/portab.h @@ -311,6 +311,8 @@ typedef uint16_t utf16_t; #if defined(COMPILER_GCC) #define UNUSED_PARAM(x) (x) __attribute__ ((unused)) +#elif defined(_MSC_VER) +#define UNUSED_PARAM(x) (x) __pragma(warning(suppress:4100 4131)) (x) #else #define UNUSED_PARAM(x) (x) #endif