kill HAVE_STAT_ST_MTIM

Bug: 18300671
Change-Id: I92b5691924b995d9c883fc0f777c566ac4c35d1d
This commit is contained in:
Yabin Cui
2014-11-10 10:37:14 -08:00
parent 652ff716b8
commit 4120e835fb
8 changed files with 3 additions and 40 deletions

View File

@@ -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
}
/*