]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
AOSP: Fix macOS build.
authorDavid Anderson <dvander@google.com>
Wed, 25 Jul 2018 19:41:05 +0000 (12:41 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 5 Aug 2018 17:58:26 +0000 (13:58 -0400)
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Bug: 111839488
Test: e2fsprogs builds on macOS.
Change-Id: I4ddf332cc244fa44f928cba68470b7f9aa48a556
From AOSP commit: 4dc2456f0e6d10c73372e829e1875ec4095e8fa6

util/android_config.h

index e7d78a982b2b7dd272335575f3cdab3980324853..6ac16fec15b60f79ae1b61d4a2d1aef3c86fbf8b 100644 (file)
@@ -28,7 +28,9 @@
 #define HAVE_UTIME_H 1
 
 #define HAVE_SYS_STAT_H 1
-#define HAVE_SYS_SYSMACROS_H 1
+#if !defined(__APPLE__)
+# define HAVE_SYS_SYSMACROS_H 1
+#endif
 #define HAVE_SYS_TIME_H 1
 #define HAVE_SYS_TYPES_H 1