summaryrefslogtreecommitdiff
path: root/ace/OS.i
diff options
context:
space:
mode:
Diffstat (limited to 'ace/OS.i')
-rw-r--r--ace/OS.i4
1 files changed, 3 insertions, 1 deletions
diff --git a/ace/OS.i b/ace/OS.i
index c663cb097f6..d053638068a 100644
--- a/ace/OS.i
+++ b/ace/OS.i
@@ -636,8 +636,10 @@ ACE_OS::fstat (ACE_HANDLE handle, ACE_stat *stp)
// for _fxstat() use of the macro.
// causes compile and runtime problems.
ACE_OSCALL_RETURN (::_fxstat (_STAT_VER, handle, stp), int, -1);
-# else /* !ACE_HAS_X86_STAT_MACROS */
+# elif defined (ACE_WIN32)
ACE_OSCALL_RETURN (::_fstat (handle, stp), int, -1);
+# else
+ ACE_OSCALL_RETURN (::fstat (handle, stp), int, -1);
# endif /* !ACE_HAS_X86_STAT_MACROS */
#endif /* defined (ACE_HAS_PACE) */
}