kill HAVE_STAT_ST_MTIM
Bug: 18300671 Change-Id: I92b5691924b995d9c883fc0f777c566ac4c35d1d
This commit is contained in:
parent
652ff716b8
commit
4120e835fb
|
@ -190,11 +190,6 @@
|
|||
*/
|
||||
#define HAVE_PREAD 1
|
||||
|
||||
/*
|
||||
* Define if we have st_mtim in struct stat
|
||||
*/
|
||||
#define HAVE_STAT_ST_MTIM 1
|
||||
|
||||
/*
|
||||
* Define if printf() supports %zd for size_t arguments
|
||||
*/
|
||||
|
|
|
@ -200,11 +200,6 @@
|
|||
*/
|
||||
#define HAVE_PREAD 1
|
||||
|
||||
/*
|
||||
* Define if we have st_mtim in struct stat
|
||||
*/
|
||||
#define HAVE_STAT_ST_MTIM 1
|
||||
|
||||
/*
|
||||
* Define if printf() supports %zd for size_t arguments
|
||||
*/
|
||||
|
|
|
@ -198,11 +198,6 @@
|
|||
*/
|
||||
#define HAVE_PREAD 1
|
||||
|
||||
/*
|
||||
* Define if we have st_mtim in struct stat
|
||||
*/
|
||||
#define HAVE_STAT_ST_MTIM 1
|
||||
|
||||
/*
|
||||
* Define if printf() supports %zd for size_t arguments
|
||||
*/
|
||||
|
|
|
@ -251,11 +251,6 @@
|
|||
*/
|
||||
#define HAVE_PREAD 1
|
||||
|
||||
/*
|
||||
* Define if we have st_mtim in struct stat
|
||||
*/
|
||||
#define HAVE_STAT_ST_MTIM 1
|
||||
|
||||
/*
|
||||
* Define if printf() supports %zd for size_t arguments
|
||||
*/
|
||||
|
|
|
@ -241,11 +241,6 @@
|
|||
*/
|
||||
#define HAVE_PREAD 1
|
||||
|
||||
/*
|
||||
* Define if we have st_mtim in struct stat
|
||||
*/
|
||||
#define HAVE_STAT_ST_MTIM 1
|
||||
|
||||
/*
|
||||
* Define if printf() supports %zd for size_t arguments
|
||||
*/
|
||||
|
|
|
@ -187,11 +187,6 @@
|
|||
*/
|
||||
#define HAVE_PREAD 1
|
||||
|
||||
/*
|
||||
* Define if we have st_mtim in struct stat
|
||||
*/
|
||||
#define HAVE_STAT_ST_MTIM 1
|
||||
|
||||
/*
|
||||
* Define if printf() supports %zd for size_t arguments
|
||||
*/
|
||||
|
|
|
@ -192,11 +192,6 @@
|
|||
*/
|
||||
#define HAVE_PREAD 1
|
||||
|
||||
/*
|
||||
* Define if we have st_mtim in struct stat
|
||||
*/
|
||||
#define HAVE_STAT_ST_MTIM 1
|
||||
|
||||
/*
|
||||
* Define if printf() supports %zd for size_t arguments
|
||||
*/
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue