Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0958bc6
)
AOSP: Fix macOS build.
author
David Anderson
<dvander@google.com>
Wed, 25 Jul 2018 19:41:05 +0000
(12:41 -0700)
committer
Theodore 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
patch
|
blob
|
history
diff --git
a/util/android_config.h
b/util/android_config.h
index
e7d78a9
..
6ac16fe
100644
(file)
--- a/
util/android_config.h
+++ b/
util/android_config.h
@@
-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