mirror of
https://gitee.com/openharmony/third_party_f2fs-tools
synced 2024-11-23 10:10:00 +00:00
20a09c8920
commit ef011a49f3c640c59c7e21c3816d01c039711c58 category: bugfix issue: #I6VAS0 CVE: NA Signed-off-by: DongSenhao <dongsenhao2@huawei.com> --------------------------------------- The selinux/android.h header file is available in Android but not in the Android NDK. Hence this patch that detects presence of that header file at configure time. Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org> Signed-off-by: dongsenhao <dongsenhao2@huawei.com>
69 lines
1.4 KiB
C
69 lines
1.4 KiB
C
#if defined(__linux__)
|
|
#define HAVE_BYTESWAP_H 1
|
|
#define HAVE_FCNTL_H 1
|
|
#define HAVE_FALLOC_H 1
|
|
#define HAVE_LINUX_HDREG_H 1
|
|
#define HAVE_LINUX_LIMITS_H 1
|
|
#define HAVE_POSIX_ACL_H 1
|
|
#define HAVE_LINUX_TYPES_H 1
|
|
#define HAVE_LINUX_XATTR_H 1
|
|
#define HAVE_LINUX_FS_H 1
|
|
#define HAVE_LINUX_FIEMAP_H 1
|
|
#define HAVE_MNTENT_H 1
|
|
#define HAVE_STDLIB_H 1
|
|
#define HAVE_STRING_H 1
|
|
#define HAVE_SYS_IOCTL_H 1
|
|
#define HAVE_SYS_SYSCALL_H 1
|
|
#define HAVE_SYS_MOUNT_H 1
|
|
#define HAVE_SYS_UTSNAME_H 1
|
|
#define HAVE_SYS_SYSMACROS_H 1
|
|
#define HAVE_SYS_XATTR_H 1
|
|
#define HAVE_UNISTD_H 1
|
|
|
|
#define HAVE_FALLOCATE 1
|
|
#define HAVE_FSETXATTR 1
|
|
#define HAVE_FSTAT 1
|
|
#define HAVE_FSTAT64 1
|
|
#define HAVE_GETMNTENT 1
|
|
#define HAVE_LLSEEK 1
|
|
#define HAVE_LSEEK64 1
|
|
#define HAVE_MEMSET 1
|
|
#define HAVE_SELINUX_ANDROID_H 1
|
|
#define HAVE_SETMNTENT 1
|
|
#define HAVE_SPARSE_SPARSE_H 1
|
|
|
|
#ifdef WITH_SLOAD
|
|
#define HAVE_LIBSELINUX 1
|
|
#endif
|
|
#endif
|
|
|
|
#if defined(__APPLE__)
|
|
#define HAVE_FCNTL_H 1
|
|
#define HAVE_FALLOC_H 1
|
|
#define HAVE_POSIX_ACL_H 1
|
|
#define HAVE_STDLIB_H 1
|
|
#define HAVE_STRING_H 1
|
|
#define HAVE_SYS_IOCTL_H 1
|
|
#define HAVE_SYS_SYSCALL_H 1
|
|
#define HAVE_SYS_MOUNT_H 1
|
|
#define HAVE_SYS_UTSNAME_H 1
|
|
#define HAVE_SYS_XATTR_H 1
|
|
#define HAVE_UNISTD_H 1
|
|
|
|
#define HAVE_FALLOCATE 1
|
|
#define HAVE_FSETXATTR 1
|
|
#define HAVE_FSTAT 1
|
|
#define HAVE_FSTAT64 1
|
|
#define HAVE_GETMNTENT 1
|
|
#define HAVE_LLSEEK 1
|
|
#define HAVE_MEMSET 1
|
|
|
|
#ifdef WITH_SLOAD
|
|
#define HAVE_LIBSELINUX 1
|
|
#endif
|
|
#endif
|
|
|
|
#if defined(_WIN32)
|
|
#define HAVE_LSEEK64
|
|
#endif
|