diff options
Diffstat (limited to 'ws_attributes.h')
-rw-r--r-- | ws_attributes.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ws_attributes.h b/ws_attributes.h index 7e2245b9c3..d7c4445323 100644 --- a/ws_attributes.h +++ b/ws_attributes.h @@ -27,6 +27,8 @@ extern "C" { #if defined(__GNUC__) /* This includes clang */ #define _U_ __attribute__((unused)) +#elif defined(_MSC_VER) + #define _U_ __pragma(warning(suppress:4100)) #else #define _U_ #endif |