summaryrefslogtreecommitdiff
path: root/ace/OS_NS_stdio.inl
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2005-09-30 07:13:09 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2005-09-30 07:13:09 +0000
commit57dd4edef4cd5a6e40362e5c3823947ca9a9769c (patch)
tree9dc396bc34a7cb252b59c6f550fcb3d7133e55c5 /ace/OS_NS_stdio.inl
parent0af4419ec19e9c2abd5272d664d92e7eee4bc82d (diff)
downloadATCD-57dd4edef4cd5a6e40362e5c3823947ca9a9769c.tar.gz
ChangeLogTag: Fri Sep 30 07:13:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ace/OS_NS_stdio.inl')
-rw-r--r--ace/OS_NS_stdio.inl8
1 files changed, 4 insertions, 4 deletions
diff --git a/ace/OS_NS_stdio.inl b/ace/OS_NS_stdio.inl
index bb3fa454a4d..ada51707bea 100644
--- a/ace/OS_NS_stdio.inl
+++ b/ace/OS_NS_stdio.inl
@@ -635,11 +635,11 @@ ACE_OS::fdopen (ACE_HANDLE handle, const ACE_TCHAR *mode)
FILE *file = 0;
-# if defined (ACE_WIN64)
- int crt_handle = ::_open_osfhandle (intptr_t (handle), 0);
-# else
+#if (defined(__BORLANDC__) && __BORLANDC__ < 0x0570)
int crt_handle = ::_open_osfhandle (long (handle), 0);
-# endif /* ACE_WIN64 */
+#else
+ int crt_handle = ::_open_osfhandle (intptr_t (handle), 0);
+#endif
if (crt_handle != -1)
{