summaryrefslogtreecommitdiff
path: root/ace/OS_NS_stdlib.inl
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2004-08-30 21:42:53 +0000
committerSteve Huston <shuston@riverace.com>2004-08-30 21:42:53 +0000
commite9984a1d39691ba84c885b250892a503261c046a (patch)
tree4731c3b52a9c1e308832a55e78425d8e42ee4372 /ace/OS_NS_stdlib.inl
parentfd8d66d1d1f83b1a5906c1709ceb24c7a6bab039 (diff)
downloadATCD-e9984a1d39691ba84c885b250892a503261c046a.tar.gz
ChangeLogTag:Mon Aug 30 17:38:22 2004 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'ace/OS_NS_stdlib.inl')
-rw-r--r--ace/OS_NS_stdlib.inl22
1 files changed, 12 insertions, 10 deletions
diff --git a/ace/OS_NS_stdlib.inl b/ace/OS_NS_stdlib.inl
index c6a5793da8b..0f067ccbe5b 100644
--- a/ace/OS_NS_stdlib.inl
+++ b/ace/OS_NS_stdlib.inl
@@ -333,27 +333,28 @@ ACE_OS::rand_r (ACE_RANDR_TYPE& seed)
#endif /* !ACE_WIN32 */
-#if !defined (ACE_LACKS_REALPATH)
+#if !defined (ACE_HAS_WINCE)
+# if !defined (ACE_LACKS_REALPATH)
ACE_INLINE char *
ACE_OS::realpath (const char *file_name,
char *resolved_name)
{
-# if defined (ACE_WIN32)
+# if defined (ACE_WIN32)
return ::_fullpath (resolved_name, file_name, PATH_MAX);
-# else /* ACE_WIN32 */
+# else /* ACE_WIN32 */
return ::realpath (file_name, resolved_name);
-# endif /* ! ACE_WIN32 */
+# endif /* ! ACE_WIN32 */
}
-#endif /* !ACE_LACKS_REALPATH */
+# endif /* !ACE_LACKS_REALPATH */
-#if defined (ACE_HAS_WCHAR)
+# if defined (ACE_HAS_WCHAR)
ACE_INLINE wchar_t *
ACE_OS::realpath (const wchar_t *file_name,
wchar_t *resolved_name)
{
-# if defined (ACE_WIN32)
+# if defined (ACE_WIN32)
return ::_wfullpath (resolved_name, file_name, PATH_MAX);
-# else /* ACE_WIN32 */
+# else /* ACE_WIN32 */
ACE_Wide_To_Ascii n_file_name (file_name);
char n_resolved[PATH_MAX];
if (0 != ACE_OS::realpath (n_file_name.char_rep (), n_resolved))
@@ -363,9 +364,10 @@ ACE_OS::realpath (const wchar_t *file_name,
return resolved_name;
}
return 0;
-# endif /* ! ACE_WIN32 */
+# endif /* ! ACE_WIN32 */
}
-#endif /* ACE_HAS_WCHAR */
+# endif /* ACE_HAS_WCHAR */
+#endif /* ACE_HAS_WINCE */
ACE_INLINE ACE_EXIT_HOOK
ACE_OS::set_exit_hook (ACE_EXIT_HOOK exit_hook)