xref: /aosp_15_r20/external/f2fs-tools/include/android_config.h (revision 59bfda1f02d633cd6b8b69f31eee485d40f6eef6)
1 #if defined(__linux__)
2 #define HAVE_ARCH_STRUCT_FLOCK 1
3 #define HAVE_BLK_ZONE_REP_V2 1
4 #define HAVE_BYTESWAP_H 1
5 #define HAVE_FCNTL_H 1
6 #define HAVE_FALLOC_H 1
7 #define HAVE_FSYNC 1
8 #define HAVE_LINUX_FCNTL_H 1
9 #define HAVE_LINUX_HDREG_H 1
10 #define HAVE_LINUX_LIMITS_H 1
11 #define HAVE_LINUX_LOOP_H 1
12 #define HAVE_LINUX_MAJOR_H 1
13 #define HAVE_POSIX_ACL_H 1
14 #define HAVE_LINUX_TYPES_H 1
15 #define HAVE_LINUX_XATTR_H 1
16 #define HAVE_LINUX_FS_H 1
17 #define HAVE_LINUX_FIEMAP_H 1
18 #define HAVE_LINUX_VERITY_H 1
19 #define HAVE_MNTENT_H 1
20 #define HAVE_STDLIB_H 1
21 #define HAVE_STRING_H 1
22 #define HAVE_SYS_IOCTL_H 1
23 #define HAVE_SYS_SYSCALL_H 1
24 #define HAVE_SYS_MOUNT_H 1
25 #define HAVE_SYS_UTSNAME_H 1
26 #define HAVE_SYS_SYSMACROS_H 1
27 #define HAVE_SYS_XATTR_H 1
28 #define HAVE_UNISTD_H 1
29 #define HAVE_UUID_UUID_H 1
30 #define HAVE_CLOCK_GETTIME 1
31 #define HAVE_CLOCK_BOOTTIME 1
32 
33 #define HAVE_FALLOCATE 1
34 #define HAVE_FSETXATTR 1
35 #define HAVE_FSTAT 1
36 #define HAVE_FSTAT64 1
37 #define HAVE_GETMNTENT 1
38 #define HAVE_MEMSET 1
39 #define HAVE_SELINUX_ANDROID_H 1
40 #define HAVE_SETMNTENT 1
41 #define HAVE_SPARSE_SPARSE_H 1
42 #define HAVE_LIBLZ4 1
43 #define HAVE_LIBUUID 1
44 
45 #ifdef WITH_SLOAD
46 #define HAVE_LIBSELINUX 1
47 #endif
48 
49 #if defined(__BIONIC__)
50 #define HAVE_LINUX_BLKZONED_H 1
51 #endif
52 
53 #endif
54 
55 #if defined(__APPLE__)
56 #define HAVE_FCNTL_H 1
57 #define HAVE_FALLOC_H 1
58 #define HAVE_POSIX_ACL_H 1
59 #define HAVE_STDLIB_H 1
60 #define HAVE_STRING_H 1
61 #define HAVE_SYS_IOCTL_H 1
62 #define HAVE_SYS_SYSCALL_H 1
63 #define HAVE_SYS_MOUNT_H 1
64 #define HAVE_SYS_UTSNAME_H 1
65 #define HAVE_SYS_XATTR_H 1
66 #define HAVE_UNISTD_H 1
67 
68 #define HAVE_FALLOCATE 1
69 #define HAVE_FSETXATTR 1
70 #define HAVE_FSTAT 1
71 #define HAVE_FSTAT64 1
72 #define HAVE_GETMNTENT 1
73 #define HAVE_MEMSET 1
74 #define HAVE_SPARSE_SPARSE_H 1
75 #define HAVE_LIBLZ4 1
76 
77 #ifdef WITH_SLOAD
78 #define HAVE_LIBSELINUX 1
79 #endif
80 #endif
81 
82 #if defined(_WIN32)
83 #define HAVE_SPARSE_SPARSE_H 1
84 #endif
85