From: Theodore Ts'o Date: Tue, 27 Feb 2018 02:19:02 +0000 (-0500) Subject: Clean up util/android_config.h X-Git-Tag: v1.44.0-rc1~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f5488ffb877713cca25fbfcbb613d32b8d38f85a;p=thirdparty%2Fe2fsprogs.git Clean up util/android_config.h Remove duplicate #defines and reorganize them to minimize excess Signed-off-by: Theodore Ts'o --- 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