summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_NS_sys_stat.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2016-09-08 12:13:24 +0200
committerJohnny Willemsen <jwillemsen@remedy.nl>2016-09-08 12:13:24 +0200
commitbc841d6bb68196f65d0286bd118af7fe3b67efdc (patch)
treef4b6d762fa63518f77e784c05750bae840310f34 /ACE/ace/OS_NS_sys_stat.h
parent376300884df0d01977f37baac26040e6bcee8e25 (diff)
downloadATCD-bc841d6bb68196f65d0286bd118af7fe3b67efdc.tar.gz
Use stati65 with MinGW
* ACE/ace/OS_NS_sys_stat.h:
Diffstat (limited to 'ACE/ace/OS_NS_sys_stat.h')
-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