mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-06 04:03:27 +03:00
Merge branch 'upstream-KWSys' into update-kwsys
* upstream-KWSys: KWSys 2017-09-21 (ff912e4d)
This commit is contained in:
commit
ff0ddff785
1 file changed
+6
@@ -265,6 +265,12 @@ int main()
|
|||||||
#ifdef TEST_KWSYS_CXX_HAS_UTIMENSAT
|
#ifdef TEST_KWSYS_CXX_HAS_UTIMENSAT
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <sys/stat.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()
|
int main()
|
||||||
{
|
{
|
||||||
struct timespec times[2] = { { 0, UTIME_OMIT }, { 0, UTIME_NOW } };
|
struct timespec times[2] = { { 0, UTIME_OMIT }, { 0, UTIME_NOW } };
|
||||||
|
|||||||
Reference in new issue
Block a user