]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
PR feedback
authorVictor Zhang <csv@meta.com>
Thu, 2 Jan 2025 23:05:58 +0000 (15:05 -0800)
committerVictor Zhang <csv@meta.com>
Thu, 2 Jan 2025 23:05:58 +0000 (15:05 -0800)
contrib/seekable_format/zstdseek_decompress.c
programs/fileio_common.h
programs/util.h

index 7f49798754fcb4ee7e400ceea12185620de22f80..ab9088a1061661fe685fc92ffb4ebdb340c523d7 100644 (file)
@@ -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 */
index f1eb8160b026a4b90736759b5ab101ff9be0457d..0440015069d5d2eb6af448c5dcc926528d5ee810 100644 (file)
@@ -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
index e66d95c0862b4a65c1c2ce6a23315c3fc73133ae..3a83a50ae3a6b83b63969e2961857b4154576710 100644 (file)
@@ -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 */