mirror of
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
synced 2024-11-23 01:53:47 +08:00
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
This commit is contained in:
parent
048424fdc0
commit
5a54747af1
@ -54,6 +54,9 @@
|
||||
# define HAVE_SYS_SELECT_H 1
|
||||
# define HAVE_SYS_WAIT_H 1
|
||||
#endif
|
||||
#ifdef __APPLE__
|
||||
# define HAVE_GETMNTINFO 1
|
||||
#endif
|
||||
#if defined(__linux__)
|
||||
# define HAVE_EXT2_IOCTLS 1
|
||||
# define HAVE_FALLOCATE 1
|
||||
|
Loading…
Reference in New Issue
Block a user