summaryrefslogtreecommitdiff
path: root/ace/OS.i
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-21 21:01:51 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-21 21:01:51 +0000
commit5e68c53ab1cc94e20b766355a5ff6b98fb7a75ae (patch)
tree94a17f1479b91df4e52f25916a68091b7d41724e /ace/OS.i
parentfc08ae7c6cced597ea013432afa098db3a392002 (diff)
downloadATCD-5e68c53ab1cc94e20b766355a5ff6b98fb7a75ae.tar.gz
ChangeLogTag:Wed Jul 21 15:54:25 1999 Nanbor Wang <nanbor@cs.wustl.edu>
Diffstat (limited to 'ace/OS.i')
-rw-r--r--ace/OS.i8
1 files changed, 6 insertions, 2 deletions
diff --git a/ace/OS.i b/ace/OS.i
index 3ae62ca89ce..50f547b0011 100644
--- a/ace/OS.i
+++ b/ace/OS.i
@@ -8119,7 +8119,9 @@ ACE_OS::dlsym (ACE_SHLIB_HANDLE handle,
ACE_OSCALL_RETURN (::dlsym (handle, symbolname), void *, 0);
# endif /* ACE_LACKS_POSIX_PROTOTYPES */
# elif defined (ACE_WIN32)
- ACE_WIN32CALL_RETURN (::GetProcAddress (handle, symbolname), void *, 0);
+ ACE_WIN32CALL_RETURN (::GetProcAddress (handle,
+ ASYS_ONLY_MULTIBYTE_STRING (symbolname)),
+ void *, 0);
# elif defined (__hpux)
void *value;
@@ -8841,7 +8843,7 @@ ACE_OS::difftime (time_t t1, time_t t0)
}
#endif /* ! ACE_LACKS_DIFFTIME */
-#if !defined (ACE_HAS_WINCE)
+#if !defined (ACE_HAS_MOSTLY_UNICODE_APIS)
ACE_INLINE char *
ACE_OS::ctime (const time_t *t)
{
@@ -8854,7 +8856,9 @@ ACE_OS::ctime (const time_t *t)
ACE_OSCALL_RETURN (::ctime (t), char *, 0);
# endif /* ACE_HAS_BROKEN_CTIME) */
}
+#endif /* ACE_HAS_MOSTLY_UNICODE_APIS */
+#if !defined (ACE_HAS_WINCE)
ACE_INLINE char *
ACE_OS::ctime_r (const time_t *t, char *buf, int buflen)
{