From 5d63c52424acc972d6370c50e1f3930d695790b7 Mon Sep 17 00:00:00 2001 From: Stephen Hines Date: Tue, 13 Aug 2013 02:43:02 -0700 Subject: Mac only has ::futimes() and not ::futimens(). Change-Id: I61d7aab308971e632e01c649a8c2b503e851dadc --- host/include/llvm/Config/config.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'host') 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 -- cgit v1.1