]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Do not use nanosecond file time APIs on macOS < 10.13 953/head
authorBrad King <brad.king@kitware.com>
Wed, 20 Sep 2017 14:19:38 +0000 (10:19 -0400)
committerBrad King <brad.king@kitware.com>
Wed, 20 Sep 2017 15:26:21 +0000 (11:26 -0400)
commit47bec12b98b173d631f4279b2a9dd01bb7d2183c
treef39b29c485bfaba84c95c4331a51afe7f050ccfd
parent51f2d2d056def7882bc4b8e36421c8398952e15e
Do not use nanosecond file time APIs on macOS < 10.13

The SDK for macOS 10.13 adds `futimens` and `utimensat` so our checks
for these symbols may pass.  However, the symbols are not available at
runtime on older macOS versions.  Instead on macOS we can check for
availability based on the deployment target version.
libarchive/archive_platform.h