]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
fixed Visual Studio compilation
authorPrzemyslaw Skibinski <inikep@gmail.com>
Wed, 21 Dec 2016 10:43:11 +0000 (11:43 +0100)
committerPrzemyslaw Skibinski <inikep@gmail.com>
Wed, 21 Dec 2016 10:43:11 +0000 (11:43 +0100)
programs/platform.h

index 02ebd4c02c6f9708b2c841b974487b5bed594dc6..fe4bfded66a3e5c31b7d941b979a1c727372c695 100644 (file)
@@ -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 */