aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2014-11-26 16:02:32 -0800
committerStephen Hines <srhines@google.com>2014-11-26 16:02:32 -0800
commit7a24d3c99c444122c5bcc1c49f43584140975ce8 (patch)
tree2c7844ba76bd63582c39bd0f64f032fa07d4a975 /host
parent9156e80250ada6f6d39af3b464a918d4855f9a2a (diff)
downloadexternal_llvm-7a24d3c99c444122c5bcc1c49f43584140975ce8.zip
external_llvm-7a24d3c99c444122c5bcc1c49f43584140975ce8.tar.gz
external_llvm-7a24d3c99c444122c5bcc1c49f43584140975ce8.tar.bz2
Switch to futimes() instead of futimens() so that we don't need GLIBC_2.6.
Bug: 18540243 Change-Id: I66c63c0aed1da38d676025308f229c927b8ce956
Diffstat (limited to 'host')
-rw-r--r--host/include/llvm/Config/config.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/host/include/llvm/Config/config.h b/host/include/llvm/Config/config.h
index 42115e4..db88f98 100644
--- a/host/include/llvm/Config/config.h
+++ b/host/include/llvm/Config/config.h
@@ -144,13 +144,11 @@
/* 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__
+/* #undef HAVE_FUTIMENS */
/* Define to 1 if you have the `getcwd' function. */
#define HAVE_GETCWD 1