summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@users.noreply.github.com>2016-09-09 08:50:36 +0200
committerGitHub <noreply@github.com>2016-09-09 08:50:36 +0200
commitd19738b3d2bd9488cd37e71301aed3008ab664db (patch)
treef4b6d762fa63518f77e784c05750bae840310f34
parent376300884df0d01977f37baac26040e6bcee8e25 (diff)
parentbc841d6bb68196f65d0286bd118af7fe3b67efdc (diff)
downloadATCD-d19738b3d2bd9488cd37e71301aed3008ab664db.tar.gz
Merge pull request #290 from jwillemsen/jwi-stati64
Use stati64 with MinGW
-rw-r--r--ACE/ace/OS_NS_sys_stat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ACE/ace/OS_NS_sys_stat.h b/ACE/ace/OS_NS_sys_stat.h
index ed9ce01ba87..586d978331d 100644
--- a/ACE/ace/OS_NS_sys_stat.h
+++ b/ACE/ace/OS_NS_sys_stat.h
@@ -57,6 +57,10 @@ typedef struct _stati64 ACE_stat;
# define ACE_STAT_FUNC_NAME ::_stati64
# define ACE_WSTAT_FUNC_NAME ::_wstati64
# endif /* _MSC_VER >= 1400 */
+# elif defined (__MINGW32__)
+typedef struct _stati64 ACE_stat;
+# define ACE_STAT_FUNC_NAME ::_stati64
+# define ACE_WSTAT_FUNC_NAME ::_wstati64
# else
typedef struct stat ACE_stat;
# define ACE_STAT_FUNC_NAME ::stat