summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_NS_sys_stat.inl
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2015-10-23 11:18:11 +0200
committerJohnny Willemsen <jwillemsen@remedy.nl>2015-10-23 11:18:11 +0200
commit3a6a8278ce57490b41c0d3b0e7593b2bc84db1df (patch)
treed27adfe39f92404d0ab9c982439f91b4eef43308 /ACE/ace/OS_NS_sys_stat.inl
parent55dacbd2cfbc86ed4a3e3d99e395384a95bacce8 (diff)
downloadATCD-3a6a8278ce57490b41c0d3b0e7593b2bc84db1df.tar.gz
Adapt for msvc deprecated API and use their ISO alternative
* ACE/ace/OS_NS_stdio.inl: * ACE/ace/OS_NS_stdlib.inl: * ACE/ace/OS_NS_sys_stat.inl: * ACE/ace/OS_NS_unistd.inl: * ACE/ace/config-win32-msvc-14.h:
Diffstat (limited to 'ACE/ace/OS_NS_sys_stat.inl')
-rw-r--r--ACE/ace/OS_NS_sys_stat.inl4
1 files changed, 4 insertions, 0 deletions
diff --git a/ACE/ace/OS_NS_sys_stat.inl b/ACE/ace/OS_NS_sys_stat.inl
index f46a182368e..93e321dd177 100644
--- a/ACE/ace/OS_NS_sys_stat.inl
+++ b/ACE/ace/OS_NS_sys_stat.inl
@@ -148,7 +148,11 @@ namespace ACE_OS
int, -1);
#elif defined (ACE_MKDIR_LACKS_MODE)
ACE_UNUSED_ARG (mode);
+# if defined (ACE_MKDIR_EQUIVALENT)
+ ACE_OSCALL_RETURN (ACE_MKDIR_EQUIVALENT (path), int, -1);
+# else
ACE_OSCALL_RETURN (::mkdir (path), int, -1);
+# endif
#else
ACE_OSCALL_RETURN (::mkdir (path, mode), int, -1);
#endif