commit | 3f92b2c8e697faed2083b609b7389e19d240b140 | [log] [tgz] |
---|---|---|
author | makepost <makepost@firemail.cc> | Mon Dec 24 03:13:16 2018 +0200 |
committer | Colin Cross <ccross@android.com> | Wed Aug 11 16:48:33 2021 -0700 |
tree | ee209b795f562b3b401bb40e98ea82d9b081f062 | |
parent | 3a102e1097901ca8283ee2b81dd88a8d290610a9 [diff] |
Use st_mtim if st_mtime is macro, fix #1510 In POSIX.1-2008, sys_stat has a st_mtim member and a st_mtime backward compatibility macro. Should help avoid hardcoding platform detection. Bug: 190084016 Test: m out/soong/host/linux-x86/bin/ninja with musl (cherry picked from commit 567815df38a2ff54ad7478a90bd75c91e434236a) Change-Id: If073a90b26d7dd4f3149ed76acc0da817bf07775