Browse Source

[core] portability fix if st_mtime not defined

master
Glenn Strauss 1 year ago
parent
commit
1d73fc2329
  1. 2
      src/stat_cache.c

2
src/stat_cache.c

@ -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

Loading…
Cancel
Save