OSDN Git Service

Fix build - USE_MINGW seems to be the preferred define
authorJean-Baptiste Queru <jbq@google.com>
Fri, 9 Jul 2010 20:25:41 +0000 (13:25 -0700)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 3 Aug 2011 04:01:18 +0000 (12:01 +0800)
Change-Id: I57dd7f5029ed1fe3a74be7573a28fa894187b3a7

libs/host/CopyFile.c

index 98adcff..44c7c2b 100644 (file)
@@ -69,7 +69,7 @@ static bool isSourceNewer(const struct stat* pSrcStat, const struct stat* pDstSt
  */
 static bool isHiresMtime(const struct stat* pSrcStat)
 {
-#ifdef WIN32_EXE
+#if defined(WIN32_EXE) || defined(USE_MINGW)
     return 0;
 #elif defined(MACOSX_RSRC)
     return pSrcStat->st_mtimespec.tv_nsec > 0;