blob: 6ac16fec15b60f79ae1b61d4a2d1aef3c86fbf8b [file] [log] [blame]
Jin Qian43f927f2016-12-05 17:49:41 -08001#ifndef __APPLE__
Theodore Ts'o321f3442015-02-28 01:09:06 -05002#define HAVE_MALLOC_H 1
Jin Qian43f927f2016-12-05 17:49:41 -08003#endif
Theodore Ts'o321f3442015-02-28 01:09:06 -05004
5#define ROOT_SYSCONFDIR "/etc"
Theodore Ts'o4fb758a2015-03-30 14:50:55 -04006
Adrien Schildknecht105cdfe2016-11-10 22:34:32 -08007#define ENABLE_LIBSPARSE 1
8
Theodore Ts'o4fb758a2015-03-30 14:50:55 -04009#define DISABLE_BACKTRACE 1
Theodore Ts'o4fb758a2015-03-30 14:50:55 -040010#define HAVE_DIRENT_H 1
11#define HAVE_ERRNO_H 1
Theodore Ts'o4fb758a2015-03-30 14:50:55 -040012#define HAVE_GETOPT_H 1
Theodore Ts'ocf491d32015-07-13 09:22:47 -040013#define HAVE_GETPWUID_R 1
Theodore Ts'o4fb758a2015-03-30 14:50:55 -040014#define HAVE_INTPTR_T 1
15#define HAVE_INTTYPES_H 1
Theodore Ts'o4fb758a2015-03-30 14:50:55 -040016#define HAVE_MMAP 1
Theodore Ts'o4fb758a2015-03-30 14:50:55 -040017#define HAVE_SETJMP_H 1
Theodore Ts'o25f291c2015-07-13 08:31:51 -040018#define HAVE_SNPRINTF 1
Theodore Ts'o4fb758a2015-03-30 14:50:55 -040019#define HAVE_STDLIB_H 1
20#define HAVE_STRCASECMP 1
21#define HAVE_STRDUP 1
Theodore Ts'ocf491d32015-07-13 09:22:47 -040022#define HAVE_STRINGS_H 1
Theodore Ts'o478360f2016-05-29 23:35:13 -040023#define HAVE_STRNLEN 1
Theodore Ts'ocf491d32015-07-13 09:22:47 -040024#define HAVE_STRPTIME 1
Theodore Ts'o4fb758a2015-03-30 14:50:55 -040025#define HAVE_SYSCONF 1
Theodore Ts'o4fb758a2015-03-30 14:50:55 -040026#define HAVE_TYPE_SSIZE_T 1
27#define HAVE_UNISTD_H 1
28#define HAVE_UTIME_H 1
Adrien Schildknechtf47f3192016-11-23 10:21:42 -080029
30#define HAVE_SYS_STAT_H 1
David Anderson4dc24562018-07-25 12:41:05 -070031#if !defined(__APPLE__)
32# define HAVE_SYS_SYSMACROS_H 1
33#endif
Adrien Schildknechtf47f3192016-11-23 10:21:42 -080034#define HAVE_SYS_TIME_H 1
35#define HAVE_SYS_TYPES_H 1
36
37#if defined(_WIN32)
38# define HAVE_LINUX_TYPES_H 1
39# define HAVE_WINSOCK_H 1
40#endif
41#if defined(__APPLE__) || defined(__linux__)
42# define HAVE_FCNTL 1
43# define HAVE_FSYNC 1
44# define HAVE_GETPAGESIZE 1
45# define HAVE_NET_IF_H 1
46# define HAVE_NETINET_IN_H 1
47# define HAVE_PREAD 1
48# define HAVE_PWRITE 1
49# define HAVE_POSIX_MEMALIGN 1
50# define HAVE_SYS_IOCTL_H 1
51# define HAVE_SYS_MMAN_H 1
52# define HAVE_SYS_MOUNT_H 1
53# define HAVE_SYS_PARAM_H 1
54# define HAVE_SYS_RESOURCE_H 1
55# define HAVE_SYS_SELECT_H 1
56# define HAVE_SYS_WAIT_H 1
57#endif
58#if defined(__linux__)
59# define HAVE_EXT2_IOCTLS 1
60# define HAVE_FALLOCATE 1
61# define HAVE_LINUX_FD_H 1
62# define HAVE_LINUX_TYPES_H 1
63# define HAVE_LSEEK64 1
64# define HAVE_LSEEK64_PROTOTYPE 1
Theodore Ts'of5488ff2018-02-26 21:19:02 -050065# define HAVE_MNTENT_H 1
Adrien Schildknechtf47f3192016-11-23 10:21:42 -080066# define HAVE_PREAD64 1
67# define HAVE_PWRITE64 1
Theodore Ts'of5488ff2018-02-26 21:19:02 -050068# define HAVE_SETMNTENT 1
Adrien Schildknechtf47f3192016-11-23 10:21:42 -080069# define HAVE_SYS_PRCTL_H 1
70#endif