kill HAVE_STAT_ST_MTIM
Bug: 18300671 Change-Id: I92b5691924b995d9c883fc0f777c566ac4c35d1d
This commit is contained in:
@@ -68,15 +68,13 @@ static bool isSourceNewer(const struct stat* pSrcStat, const struct stat* pDstSt
|
||||
*/
|
||||
static bool isHiresMtime(const struct stat* pSrcStat)
|
||||
{
|
||||
#if HAVE_STAT_ST_MTIM
|
||||
#if defined(MACOSX_RSRC)
|
||||
#if defined(__CYGWIN__) || defined(__MINGW32__)
|
||||
return 0;
|
||||
#elif defined(MACOSX_RSRC)
|
||||
return pSrcStat->st_mtimespec.tv_nsec > 0;
|
||||
#else
|
||||
return pSrcStat->st_mtim.tv_nsec > 0;
|
||||
#endif
|
||||
#else
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user