From d571f0dca66b9347251d78b4c9085fefb78eddb3 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 21 Feb 2020 17:27:02 -0800 Subject: [PATCH] largefile: remove _DARWIN_USE_64_BIT_INODE MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit It’s not needed in currently-supported macOS versions, and was problematic anyway in MacOS X 10.5 which was the only version that could use it. Problem reported by Peter Eisentraut in: https://lists.gnu.org/r/bug-autoconf/2020-02/msg00004.html * m4/largefile.m4 (AC_SYS_LARGEFILE): Don’t define _DARWIN_USE_64_BIT_INODE. This syncs with Autoconf master. --- ChangeLog | 9 +++++++++ m4/largefile.m4 | 3 --- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 89beae3d74..ee4d041e05 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,14 @@ 2020-02-21 Paul Eggert + largefile: remove _DARWIN_USE_64_BIT_INODE + It’s not needed in currently-supported macOS versions, and was + problematic anyway in MacOS X 10.5 which was the only version that + could use it. Problem reported by Peter Eisentraut in: + https://lists.gnu.org/r/bug-autoconf/2020-02/msg00004.html + * m4/largefile.m4 (AC_SYS_LARGEFILE): + Don’t define _DARWIN_USE_64_BIT_INODE. + This syncs with Autoconf master. + Add ‘extern "C"’ to count-one-bits.h etc. This ports these .h files to C++. Problem reported by Simon Marchi in: diff --git a/m4/largefile.m4 b/m4/largefile.m4 index e381339c40..8017ca70eb 100644 --- a/m4/largefile.m4 +++ b/m4/largefile.m4 @@ -113,9 +113,6 @@ if test "$enable_largefile" != no; then [Define for large files, on AIX-style hosts.], [_AC_SYS_LARGEFILE_TEST_INCLUDES]) fi - - AC_DEFINE([_DARWIN_USE_64_BIT_INODE], [1], - [Enable large inode numbers on Mac OS X 10.5.]) fi ])# AC_SYS_LARGEFILE ])# m4_version_prereq 2.70 -- 2.39.5