diff options
author | Brad King <brad.king@kitware.com> | 2017-09-21 11:17:36 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-09-21 11:17:36 (GMT) |
commit | ff0ddff7851f10bca054b508a81d8284902b7f00 (patch) | |
tree | ed7b0e166ffd497ce7f174c90c94f1c9eb1e756d /Source | |
parent | 1cf94375174e7b939148a3ec7e3ae004d511719e (diff) | |
parent | d49b95b8048b59c1e7867698a95cbdcd8e0a3980 (diff) | |
download | CMake-ff0ddff7851f10bca054b508a81d8284902b7f00.zip CMake-ff0ddff7851f10bca054b508a81d8284902b7f00.tar.gz CMake-ff0ddff7851f10bca054b508a81d8284902b7f00.tar.bz2 |
Merge branch 'upstream-KWSys' into update-kwsys
* upstream-KWSys:
KWSys 2017-09-21 (ff912e4d)
Diffstat (limited to 'Source')
-rw-r--r-- | Source/kwsys/kwsysPlatformTestsCXX.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/kwsys/kwsysPlatformTestsCXX.cxx b/Source/kwsys/kwsysPlatformTestsCXX.cxx index 01c6951..e67d436 100644 --- a/Source/kwsys/kwsysPlatformTestsCXX.cxx +++ b/Source/kwsys/kwsysPlatformTestsCXX.cxx @@ -265,6 +265,12 @@ int main() #ifdef TEST_KWSYS_CXX_HAS_UTIMENSAT #include <fcntl.h> #include <sys/stat.h> +#if defined(__APPLE__) +#include <AvailabilityMacros.h> +#if MAC_OS_X_VERSION_MIN_REQUIRED < 101300 +#error "utimensat not available on macOS < 10.13" +#endif +#endif int main() { struct timespec times[2] = { { 0, UTIME_OMIT }, { 0, UTIME_NOW } }; |