Commit d49b95b8 authored by Kitware Robot's avatar Kitware Robot Committed by Brad King
Browse files

KWSys 2017-09-21 (ff912e4d)

Code extracted from:

    https://gitlab.kitware.com/utils/kwsys.git

at commit ff912e4d39e0a580b9d9be5430fffa46c0e1f94d (master).

Upstream Shortlog
-----------------

Brad King (1):
      aa9f3a82 macOS: Account for deployment target when checking for utimensat
parent 38b8017f
......@@ -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 } };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment