-
Committer:
Eli Zaretskii
-
Date:
2021-05-29 08:37:09 UTC
-
Revision ID:
git-v1:012918bf11fbc2a94dc2319d15d05595c351b811
[SV 58656] Fix mtime for large files on MS-Windows
In MSVC builds, 'stat' fails when called on files larger than
2GB. Call '_stat64' instead to work around this.
* src/remake.c (STAT): Define to '_stat64' for MSVC builds.
(name_mtime) [WINDOWS32]: Use STAT instead of 'stat'.
Suggested by Makoto Kato <m_kato@ga2.so-net.ne.jp>.