diff options
author | Steve Huston <shuston@riverace.com> | 2002-07-17 16:13:56 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 2002-07-17 16:13:56 +0000 |
commit | a0adf64a4c0e3d0f9750e82e00f289b1c89a9806 (patch) | |
tree | b04e73cec55793d41b8a55ef6271d90ceb5d1fde /ace/OS.cpp | |
parent | dec7a748e600c7f2e36f6983cf178aea00667df1 (diff) | |
download | ATCD-a0adf64a4c0e3d0f9750e82e00f289b1c89a9806.tar.gz |
ChangeLogTag:Wed Jul 17 11:34:28 2002 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'ace/OS.cpp')
-rw-r--r-- | ace/OS.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ace/OS.cpp b/ace/OS.cpp index 025b13835b4..9ecdea3b03c 100644 --- a/ace/OS.cpp +++ b/ace/OS.cpp @@ -899,7 +899,11 @@ ACE_OS::fopen (const ACE_TCHAR *filename, } # else hmode &= _O_TEXT | _O_RDONLY | _O_APPEND; +# if defined (__BORLANDC__) + int fd = _open_osfhandle (long (handle), hmode); +# else int fd = _open_osfhandle (intptr_t (handle), hmode); +# endif /* __BORLANDC__ */ if (fd != -1) { # if defined (__BORLANDC__) && !defined (ACE_USES_WCHAR) |