From: Robert Pengelly Date: Sat, 28 Feb 2026 23:28:14 +0000 (+0000) Subject: Force ll for macOS X-Git-Url: https://git.candlhat.org/?a=commitdiff_plain;h=bf63c8caecb80415a622add33c0941949b86e764;p=tar.git Force ll for macOS --- diff --git a/tar.c b/tar.c index b2f3d8b..acbb921 100755 --- a/tar.c +++ b/tar.c @@ -65,7 +65,9 @@ static int write_null_bytes (FILE *fp, int n) { } -#if defined (NO_LONG_LONG) +#if __APPLE__ +# define I64_FMT "ll" +#elif defined (NO_LONG_LONG) # define I64_FMT "l" #elif defined (_MSVC_) # define I64_FMT "I64"