#endif /*timespeccmp*/
static bool stab_isnewer(const struct stat *a, const struct stat *b) {
- return 0;
+#ifdef st_mtime
+ return timespeccmp(&a->st_mtim, &b->st_mtim, >);
+#else
+ return a->st_mtime > &b->st_mtime;
+#endif
}
static bool check_garbage(void) {