fix extra ifdefs - dont need __USE_MISC

too many ifdef checks - too conservative. reduce the __USE_MISC check

@fix
This commit is contained in:
Carsten Haitzler 2023-12-26 23:31:57 +00:00 committed by Christopher Michael
parent e5af64a152
commit 1bc21fceb2
1 changed files with 1 additions and 1 deletions

View File

@ -412,7 +412,7 @@ _eina_file_timestamp_compare(Eina_File *f, struct stat *st)
if (f->length != (unsigned long long) st->st_size) return EINA_FALSE;
if (f->inode != st->st_ino) return EINA_FALSE;
#ifdef _STAT_VER_LINUX
# if (defined __USE_MISC && defined st_mtime)
# ifdef st_mtime
if (f->mtime_nsec != (unsigned long int)st->st_mtim.tv_nsec)
return EINA_FALSE;
# else