diff options
author | Theodore Ts'o <tytso@mit.edu> | 2018-02-26 21:19:02 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2018-02-26 21:19:02 -0500 |
commit | f5488ffb877713cca25fbfcbb613d32b8d38f85a (patch) | |
tree | f4849a9fb2056a8c105e8b8fa5180d7e55099e27 /util | |
parent | 220c826f236fd45633d44927f6431d4b58667d01 (diff) | |
download | android_external_e2fsprogs-f5488ffb877713cca25fbfcbb613d32b8d38f85a.tar.gz android_external_e2fsprogs-f5488ffb877713cca25fbfcbb613d32b8d38f85a.tar.bz2 android_external_e2fsprogs-f5488ffb877713cca25fbfcbb613d32b8d38f85a.zip |
Clean up util/android_config.h
Remove duplicate #defines and reorganize them to minimize excess
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'util')
-rw-r--r-- | util/android_config.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/util/android_config.h b/util/android_config.h index 5655c3ba..af611923 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 |