[core] portability fix if st_mtime not defined

This commit is contained in:
Glenn Strauss 2020-12-09 17:39:43 -05:00
parent 8a2f9c1173
commit 1d73fc2329
1 changed files with 2 additions and 0 deletions

View File

@ -1074,6 +1074,8 @@ static int stat_cache_stat_eq(const struct stat * const sta, const struct stat *
#else
sta->st_mtim.tv_nsec == stb->st_mtim.tv_nsec
#endif
#else
1
#endif
&& sta->st_mtime == stb->st_mtime
&& sta->st_size == stb->st_size