summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_NS_stdio.inl
diff options
context:
space:
mode:
authormsmit <msmit@remedy.nl>2009-04-09 11:46:41 +0000
committermsmit <msmit@remedy.nl>2009-04-09 11:46:41 +0000
commit3e27edd46965170a13182d2fe29567add983e22e (patch)
tree4fad7e6394a88f57f03c1427aa20eb2c8780fb9f /ACE/ace/OS_NS_stdio.inl
parent2eacce904fe911881afd9652e5a29299e6bfee97 (diff)
downloadATCD-3e27edd46965170a13182d2fe29567add983e22e.tar.gz
Thu Apr 10 11:45:08 UTC 2009 Marcel Smit <msmit@remedy.nl>
* ace/OS_NS_stdio.inl: Resolved compiler error on WinCE 5 VC 8.
Diffstat (limited to 'ACE/ace/OS_NS_stdio.inl')
-rw-r--r--ACE/ace/OS_NS_stdio.inl4
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/ace/OS_NS_stdio.inl b/ACE/ace/OS_NS_stdio.inl
index 692cbc71c39..dd2a4241d1c 100644
--- a/ACE/ace/OS_NS_stdio.inl
+++ b/ACE/ace/OS_NS_stdio.inl
@@ -498,12 +498,12 @@ ACE_OS::fdopen (ACE_HANDLE handle, const ACE_TCHAR *mode)
{
ACE_OS_TRACE ("ACE_OS::fdopen");
#if defined (ACE_HAS_WINCE)
-# if defined (ACE_HAS_NONCONST_WFDOPEN)
+# if defined (ACE_HAS_CONST_WFDOPEN)
ACE_OSCALL_RETURN (::_wfdopen ((int)handle, const_cast <ACE_TCHAR*> (ACE_TEXT_ALWAYS_WCHAR (mode))),
FILE*,
0);
# else
- ACE_OSCALL_RETURN (::_wfdopen ((int)handle, ACE_TEXT_ALWAYS_WCHAR (mode)),
+ ACE_OSCALL_RETURN (::_wfdopen (handle, ACE_TEXT_ALWAYS_WCHAR (mode)),
FILE*,
0);
# endif