summaryrefslogtreecommitdiffstats
path: root/libs
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2010-07-09 13:25:41 -0700
committerJean-Baptiste Queru <jbq@google.com>2010-07-09 13:25:41 -0700
commit8884bf02d87e699d97050303599f091ed3213d42 (patch)
tree00be1cfc3b7fab81342406e44c6a4643ea530833 /libs
parent8565c6330f0f033e98256c8a5d5ef21c9d328eb1 (diff)
downloadbuild-8884bf02d87e699d97050303599f091ed3213d42.zip
build-8884bf02d87e699d97050303599f091ed3213d42.tar.gz
build-8884bf02d87e699d97050303599f091ed3213d42.tar.bz2
Fix build - USE_MINGW seems to be the preferred define
Change-Id: I57dd7f5029ed1fe3a74be7573a28fa894187b3a7
Diffstat (limited to 'libs')
-rw-r--r--libs/host/CopyFile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/host/CopyFile.c b/libs/host/CopyFile.c
index 98adcff..44c7c2b 100644
--- a/libs/host/CopyFile.c
+++ b/libs/host/CopyFile.c
@@ -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;