]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
fix LONG_SEEK 547/head
authorPrzemyslaw Skibinski <inikep@gmail.com>
Tue, 14 Feb 2017 08:52:52 +0000 (09:52 +0100)
committerPrzemyslaw Skibinski <inikep@gmail.com>
Tue, 14 Feb 2017 08:52:52 +0000 (09:52 +0100)
programs/fileio.c

index c152fdcbee89f5a6c15fcaf19a176fa6c30e78a9..b384f3d1f5eb542f8a2edb46642964f8b40cc1ac 100644 (file)
@@ -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__)