if (tstamp->size != st->st_size) return EINA_FALSE;
if (tstamp->ino != st->st_ino) return EINA_FALSE;
#ifdef _STAT_VER_LINUX
-#ifdef __USE_MISC
+#if (defined __USE_MISC && defined st_mtime)
if (tstamp->mtime_nsec != (unsigned long int)st->st_mtim.tv_nsec) return EINA_FALSE;
-#else
+#else
if (tstamp->mtime_nsec != (unsigned long int)st->st_mtimensec) return EINA_FALSE;
-#endif
+#endif
#endif
return EINA_TRUE;
}
tstamp->size = st->st_size;
tstamp->ino = st->st_ino;
#ifdef _STAT_VER_LINUX
-#ifdef __USE_MISC
+#if (defined __USE_MISC && defined st_mtime)
tstamp->mtime_nsec = (unsigned long int)st->st_mtim.tv_nsec;
-#else
+#else
tstamp->mtime_nsec = (unsigned long int)st->st_mtimensec;
#endif
-#endif
+#endif
}
static Image_Entry *