From: Yann Collet Date: Tue, 17 May 2016 12:30:19 +0000 (+0200) Subject: fixed Visual warning in debug mode X-Git-Tag: v0.7.0^2~74 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78aa05228a17b56816897e55ff6ac06efa2d56dd;p=thirdparty%2Fzstd.git fixed Visual warning in debug mode --- diff --git a/lib/common/mem.h b/lib/common/mem.h index 201d9bb0f..99de9cb36 100644 --- a/lib/common/mem.h +++ b/lib/common/mem.h @@ -49,6 +49,9 @@ extern "C" { /*-**************************************** * Compiler specifics ******************************************/ +#if defined(_MSC_VER) +# include /* _byteswap_ */ +#endif #if defined(__GNUC__) # define MEM_STATIC static __attribute__((unused)) #elif defined (__cplusplus) || (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */)