From: Przemyslaw Skibinski Date: Tue, 14 Feb 2017 08:52:52 +0000 (+0100) Subject: fix LONG_SEEK X-Git-Tag: v1.1.4~1^2~62^2~1^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F547%2Fhead;p=thirdparty%2Fzstd.git fix LONG_SEEK --- diff --git a/programs/fileio.c b/programs/fileio.c index c152fdcbe..b384f3d1f 100644 --- a/programs/fileio.c +++ b/programs/fileio.c @@ -97,7 +97,7 @@ static clock_t g_time = 0; #if defined(_MSC_VER) && _MSC_VER >= 1400 # define LONG_SEEK _fseeki64 #elif !defined(__64BIT__) && (PLATFORM_POSIX_VERSION >= 200112L) /* No point defining Large file for 64 bit */ -# define fseek fseeko +# define LONG_SEEK fseeko #elif defined(__MINGW32__) && !defined(__STRICT_ANSI__) && !defined(__NO_MINGW_LFS) && defined(__MSVCRT__) # define LONG_SEEK fseeko64 #elif defined(_WIN32) && !defined(__DJGPP__)