aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2018-02-26 21:19:02 -0500
committerTheodore Ts'o <tytso@mit.edu>2018-02-26 21:19:02 -0500
commitf5488ffb877713cca25fbfcbb613d32b8d38f85a (patch)
treef4849a9fb2056a8c105e8b8fa5180d7e55099e27
parent220c826f236fd45633d44927f6431d4b58667d01 (diff)
downloade2fsprogs-f5488ffb877713cca25fbfcbb613d32b8d38f85a.tar.gz
Clean up util/android_config.h
Remove duplicate #defines and reorganize them to minimize excess Signed-off-by: Theodore Ts'o <tytso@mit.edu>
-rw-r--r--util/android_config.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/util/android_config.h b/util/android_config.h
index 5655c3baf..af6119238 100644
--- a/util/android_config.h
+++ b/util/android_config.h
@@ -13,18 +13,8 @@
#define HAVE_GETPWUID_R 1
#define HAVE_INTPTR_T 1
#define HAVE_INTTYPES_H 1
-#ifdef __linux__
-#define HAVE_LSEEK64 1
-#define HAVE_LSEEK64_PROTOTYPE 1
-#endif
#define HAVE_MMAP 1
-#ifdef __linux__
-#define HAVE_MNTENT_H 1
-#endif
#define HAVE_SETJMP_H 1
-#ifdef __linux__
-#define HAVE_SETMNTENT 1
-#endif
#define HAVE_SNPRINTF 1
#define HAVE_STDLIB_H 1
#define HAVE_STRCASECMP 1
@@ -69,8 +59,10 @@
# define HAVE_LINUX_TYPES_H 1
# define HAVE_LSEEK64 1
# define HAVE_LSEEK64_PROTOTYPE 1
+# define HAVE_MNTENT_H 1
# define HAVE_PREAD64 1
# define HAVE_PWRITE64 1
+# define HAVE_SETMNTENT 1
# define HAVE_SYS_PRCTL_H 1
# define HAVE_SYS_SYSMACROS_H 1
#endif