From: Victor Zhang Date: Thu, 2 Jan 2025 23:05:58 +0000 (-0800) Subject: PR feedback X-Git-Tag: v1.5.7^2~45^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b046f58410fe66ea300c31ffc92dbfb4c956bb1;p=thirdparty%2Fzstd.git PR feedback --- diff --git a/contrib/seekable_format/zstdseek_decompress.c b/contrib/seekable_format/zstdseek_decompress.c index 7f4979875..ab9088a10 100644 --- a/contrib/seekable_format/zstdseek_decompress.c +++ b/contrib/seekable_format/zstdseek_decompress.c @@ -79,7 +79,7 @@ ***************************************************************/ #if defined(LIBC_NO_FSEEKO) /* Some older libc implementations don't include these functions (e.g. Bionic < 24) */ -#define LONG_SEEK fseek +# define LONG_SEEK fseek #elif 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 */ diff --git a/programs/fileio_common.h b/programs/fileio_common.h index f1eb8160b..044001506 100644 --- a/programs/fileio_common.h +++ b/programs/fileio_common.h @@ -81,8 +81,8 @@ extern UTIL_time_t g_displayClock; /* Avoid fseek()'s 2GiB barrier with MSVC, macOS, *BSD, MinGW */ #if defined(LIBC_NO_FSEEKO) /* Some older libc implementations don't include these functions (e.g. Bionic < 24) */ -#define LONG_SEEK fseek -#define LONG_TELL ftell +# define LONG_SEEK fseek +# define LONG_TELL ftell #elif defined(_MSC_VER) && _MSC_VER >= 1400 # define LONG_SEEK _fseeki64 # define LONG_TELL _ftelli64 diff --git a/programs/util.h b/programs/util.h index e66d95c08..3a83a50ae 100644 --- a/programs/util.h +++ b/programs/util.h @@ -26,7 +26,7 @@ ***************************************************************/ #if defined(LIBC_NO_FSEEKO) /* Some older libc implementations don't include these functions (e.g. Bionic < 24) */ -#define UTIL_fseek fseek +# define UTIL_fseek fseek #elif defined(_MSC_VER) && (_MSC_VER >= 1400) # define UTIL_fseek _fseeki64 #elif !defined(__64BIT__) && (PLATFORM_POSIX_VERSION >= 200112L) /* No point defining Large file for 64 bit */