mirror of
https://github.com/facebook/zstd.git
synced 2024-12-13 05:26:52 +08:00
fixed compilation with Visual Studio 2005
This commit is contained in:
parent
3d2c58c3a9
commit
038d1497c9
@ -77,6 +77,7 @@
|
||||
# include <intrin.h> /* For Visual 2005 */
|
||||
# pragma warning(disable : 4127) /* disable: C4127: conditional expression is constant */
|
||||
# pragma warning(disable : 4324) /* disable: C4324: padded structure */
|
||||
# pragma warning(disable : 4100) /* disable: C4100: unreferenced formal parameter */
|
||||
#else
|
||||
# ifdef __GNUC__
|
||||
# define FORCE_INLINE static inline __attribute__((always_inline))
|
||||
|
Loading…
Reference in New Issue
Block a user