summaryrefslogtreecommitdiff
path: root/ace/OS_NS_unistd.inl
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2005-09-30 08:38:57 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2005-09-30 08:38:57 +0000
commit03ec419a1e1d5721f0c9459a7040c09dfddbdb79 (patch)
tree5061c55665f93f07fba74284a533ad1b363ff06b /ace/OS_NS_unistd.inl
parent501c3edac847393a9c39d71237c56ce97c026551 (diff)
downloadATCD-03ec419a1e1d5721f0c9459a7040c09dfddbdb79.tar.gz
ChangeLogTag: Fri Sep 30 08:38:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ace/OS_NS_unistd.inl')
-rw-r--r--ace/OS_NS_unistd.inl2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/OS_NS_unistd.inl b/ace/OS_NS_unistd.inl
index ecfbacda0fd..f4a0d644ce2 100644
--- a/ace/OS_NS_unistd.inl
+++ b/ace/OS_NS_unistd.inl
@@ -736,7 +736,7 @@ ACE_OS::isatty (ACE_HANDLE handle)
ACE_UNUSED_ARG (handle);
return 0;
#else
-# if (defined(__BORLANDC__) && __BORLANDC__ < 0x0570)
+# if defined (ACE_LACKS_INTPTR_T)
int fd = ::_open_osfhandle (long (handle), 0);
# else
int fd = ::_open_osfhandle (intptr_t (handle), 0);