summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_NS_sys_stat.inl
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2007-10-27 06:20:58 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2007-10-27 06:20:58 +0000
commit5f452d6cedafb1350786f171de35850cd45625e6 (patch)
treebd63c64eb90c700b94d3a20cb3ab6a1c7dc5c2b1 /ACE/ace/OS_NS_sys_stat.inl
parent3707b406c62b7a2ea8a8bee0408cbeef9fb77b68 (diff)
downloadATCD-5f452d6cedafb1350786f171de35850cd45625e6.tar.gz
Diffstat (limited to 'ACE/ace/OS_NS_sys_stat.inl')
-rw-r--r--ACE/ace/OS_NS_sys_stat.inl5
1 files changed, 3 insertions, 2 deletions
diff --git a/ACE/ace/OS_NS_sys_stat.inl b/ACE/ace/OS_NS_sys_stat.inl
index 42601670b08..b8939275a5e 100644
--- a/ACE/ace/OS_NS_sys_stat.inl
+++ b/ACE/ace/OS_NS_sys_stat.inl
@@ -59,11 +59,12 @@ namespace ACE_OS
(fdata.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY ? S_IFDIR : S_IFREG);
}
return 0;
-#elif defined (ACE_OPENVMS)
+#else
+# if defined (ACE_OPENVMS)
//FUZZ: disable check_for_lack_ACE_OS
::fsync(handle);
//FUZZ: enable check_for_lack_ACE_OS
-#else
+ #endif
ACE_OSCALL_RETURN (::fstat (handle, stp), int, -1);
# endif /* !ACE_HAS_X86_STAT_MACROS */
}