Whamcloud - gitweb
AOSP: Android: define HAVE_GETMNTINFO on macOS
authorEric Biggers <ebiggers@google.com>
Thu, 2 Feb 2023 22:42:19 +0000 (22:42 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 20 May 2024 15:11:45 +0000 (11:11 -0400)
commit5a54747af1389113bde7ebf326a16a27e506d747
tree8fa3da92c85b038ba8c9d70a1a300caf8395b7cd
parent048424fdc056bb2b6bcd027e630cc68115a5922e
AOSP: Android: define HAVE_GETMNTINFO on macOS

macOS supports getmntinfo(), but not getmntent().  To match what the
'configure' script detects, define HAVE_GETMNTINFO to 1.

This prevents the following warning:

    #warning "Can't use getmntent or getmntinfo to check for mounted filesystems!"

Bug: 267448785
Change-Id: I3131563fc317fa9fef7745937ec2c4b09a1d29b0
From AOSP commit: bb6d46cc9770f4f15a5e52122a16f762c1bb567a
util/android_config.h