From: Przemyslaw Skibinski Date: Wed, 21 Dec 2016 10:43:11 +0000 (+0100) Subject: fixed Visual Studio compilation X-Git-Tag: v1.1.3^2~44^2^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=101df4f6360dd97e8a2ef96510c15200d9af77bd;p=thirdparty%2Fzstd.git fixed Visual Studio compilation --- diff --git a/programs/platform.h b/programs/platform.h index 02ebd4c02..fe4bfded6 100644 --- a/programs/platform.h +++ b/programs/platform.h @@ -38,9 +38,6 @@ extern "C" { # if (_MSC_VER <= 1800) /* (1800 = Visual Studio 2013) */ # define snprintf sprintf_s /* snprintf unsupported by Visual <= 2013 */ # endif -# if (_MSC_VER >= 1400) /* Avoid MSVC fseek()'s 2GiB barrier */ -# define fseek _fseeki64 -# endif #endif #if defined(__MINGW32__) && !defined(_POSIX_SOURCE) # define _POSIX_C_SOURCE 1 /* enable __VA_ARGS__ and disable %llu warnings with MinGW on Windows */