diff options
author | Stephen Hines <srhines@google.com> | 2013-08-13 02:43:02 -0700 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2013-08-13 02:43:02 -0700 |
commit | 5d63c52424acc972d6370c50e1f3930d695790b7 (patch) | |
tree | 32baffb9d24a4518cfd7c91965af1e5d6e239705 /host/include/llvm/Config/config.h | |
parent | e4799f60dc79d16ee270b38e9fab805178a572aa (diff) | |
download | external_llvm-5d63c52424acc972d6370c50e1f3930d695790b7.zip external_llvm-5d63c52424acc972d6370c50e1f3930d695790b7.tar.gz external_llvm-5d63c52424acc972d6370c50e1f3930d695790b7.tar.bz2 |
Mac only has ::futimes() and not ::futimens().
Change-Id: I61d7aab308971e632e01c649a8c2b503e851dadc
Diffstat (limited to 'host/include/llvm/Config/config.h')
-rw-r--r-- | host/include/llvm/Config/config.h | 5 |
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 |