Linux ifdefs atime to atim. No need for this

This commit is contained in:
Rosen Penev
2017-03-04 18:27:33 -08:00
parent f471233544
commit a7d9e242ac

View File

@@ -16,11 +16,7 @@ int sort_by_dictstat (const void *s1, const void *s2)
dictstat_t *d1 = (dictstat_t *) s1;
dictstat_t *d2 = (dictstat_t *) s2;
#if defined (__linux__) || defined (__CYGWIN__)
d2->stat.st_atim = d1->stat.st_atim;
#else
d2->stat.st_atime = d1->stat.st_atime;
#endif
return memcmp (&d1->stat, &d2->stat, sizeof (struct stat));
}