From f5488ffb877713cca25fbfcbb613d32b8d38f85a Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Mon, 26 Feb 2018 21:19:02 -0500 Subject: [PATCH] Clean up util/android_config.h Remove duplicate #defines and reorganize them to minimize excess Signed-off-by: Theodore Ts'o --- util/android_config.h | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/util/android_config.h b/util/android_config.h index 5655c3b..af61192 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 -- 1.8.3.1