OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4799f6
)
Mac only has ::futimes() and not ::futimens().
author
Stephen Hines
<srhines@google.com>
Tue, 13 Aug 2013 09:43:02 +0000
(
02:43
-0700)
committer
Stephen Hines
<srhines@google.com>
Tue, 13 Aug 2013 09:43:02 +0000
(
02:43
-0700)
Change-Id: I61d7aab308971e632e01c649a8c2b503e851dadc
host/include/llvm/Config/config.h
patch
|
blob
|
history
diff --git
a/host/include/llvm/Config/config.h
b/host/include/llvm/Config/config.h
index
7ac1565
..
bb93b37
100644
(file)
--- a/
host/include/llvm/Config/config.h
+++ b/
host/include/llvm/Config/config.h
@@
-144,8
+144,13
@@
/* Define to 1 if you have the `fmodf' function. */
#define HAVE_FMODF 1
+#ifdef __APPLE__
+/* Define to 1 if you have the `futimes' function. */
+#define HAVE_FUTIMES 1
+#else
/* Define to 1 if you have the `futimens' function. */
#define HAVE_FUTIMENS 1
+#endif // __APPLE__
/* Define to 1 if you have the `getcwd' function. */
#define HAVE_GETCWD 1