From: Stephen Hines Date: Thu, 27 Nov 2014 00:02:32 +0000 (-0800) Subject: Switch to futimes() instead of futimens() so that we don't need GLIBC_2.6. X-Git-Tag: android-x86-6.0-r1~37^2^2~3 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=7a24d3c99c444122c5bcc1c49f43584140975ce8;p=android-x86%2Fexternal-llvm.git Switch to futimes() instead of futimens() so that we don't need GLIBC_2.6. Bug: 18540243 Change-Id: I66c63c0aed1da38d676025308f229c927b8ce956 --- diff --git a/host/include/llvm/Config/config.h b/host/include/llvm/Config/config.h index 42115e4975a..db88f986824 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