aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2013-08-13 02:43:02 -0700
committerStephen Hines <srhines@google.com>2013-08-13 02:43:02 -0700
commit5d63c52424acc972d6370c50e1f3930d695790b7 (patch)
tree32baffb9d24a4518cfd7c91965af1e5d6e239705
parente4799f60dc79d16ee270b38e9fab805178a572aa (diff)
downloadexternal_llvm-5d63c52424acc972d6370c50e1f3930d695790b7.zip
external_llvm-5d63c52424acc972d6370c50e1f3930d695790b7.tar.gz
external_llvm-5d63c52424acc972d6370c50e1f3930d695790b7.tar.bz2
Mac only has ::futimes() and not ::futimens().
Change-Id: I61d7aab308971e632e01c649a8c2b503e851dadc
-rw-r--r--host/include/llvm/Config/config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/host/include/llvm/Config/config.h b/host/include/llvm/Config/config.h
index 7ac1565..bb93b37 100644
--- 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