summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_NS_stdlib.inl
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/OS_NS_stdlib.inl')
-rw-r--r--ACE/ace/OS_NS_stdlib.inl20
1 files changed, 3 insertions, 17 deletions
diff --git a/ACE/ace/OS_NS_stdlib.inl b/ACE/ace/OS_NS_stdlib.inl
index b76ee71c5bd..d40c139c860 100644
--- a/ACE/ace/OS_NS_stdlib.inl
+++ b/ACE/ace/OS_NS_stdlib.inl
@@ -19,8 +19,6 @@ ACE_OS::_exit (int status)
ACE_OS_TRACE ("ACE_OS::_exit");
#if defined (ACE_VXWORKS)
::exit (status);
-#elif defined (ACE_HAS_WINCE)
- ::TerminateProcess (::GetCurrentProcess (), status);
#elif defined (ACE_MQX)
_mqx_exit (status);
#elif !defined (ACE_LACKS__EXIT)
@@ -110,12 +108,6 @@ ACE_OS::atop (const char *s)
ACE_TRACE ("ACE_OS::atop");
#if defined (ACE_WIN64)
intptr_t ip = ::_atoi64 (s);
-#elif defined (ACE_OPENVMS)
-# if !defined (__INITIAL_POINTER_SIZE) || (__INITIAL_POINTER_SIZE < 64)
- int ip = ::atoi (s);
-# else
- intptr_t ip = ::atoi (s);
-# endif
#else
intptr_t ip = ::atoi (s);
#endif /* ACE_WIN64 */
@@ -129,12 +121,6 @@ ACE_OS::atop (const wchar_t *s)
{
# if defined (ACE_WIN64)
intptr_t ip = ::_wtoi64 (s);
-# elif defined (ACE_OPENVMS)
-# if !defined (__INITIAL_POINTER_SIZE) || (__INITIAL_POINTER_SIZE < 64)
- int ip = ACE_OS::atoi (s);
-# else
- intptr_t ip = ACE_OS::atoi (s);
-# endif
# else
intptr_t ip = ACE_OS::atoi (s);
# endif /* ACE_WIN64 */
@@ -336,7 +322,7 @@ ACE_OS::putenv (const char *string)
ACE_NOTSUP_RETURN (0);
#elif defined (ACE_PUTENV_EQUIVALENT)
return ACE_PUTENV_EQUIVALENT (const_cast <char *> (string));
-#else /* ! ACE_HAS_WINCE */
+#else
return ACE_STD_NAMESPACE::putenv (const_cast <char *> (string));
#endif /* ACE_LACKS_PUTENV && ACE_HAS_SETENV */
}
@@ -430,7 +416,7 @@ ACE_OS::rand_r (unsigned int *seed)
# endif /* ACE_LACKS_RAND_R */
}
-# if !defined (ACE_LACKS_REALPATH)
+#if !defined (ACE_LACKS_REALPATH)
ACE_INLINE char *
ACE_OS::realpath (const char *file_name,
char *resolved_name)
@@ -462,7 +448,7 @@ ACE_OS::realpath (const wchar_t *file_name,
# endif /* ! ACE_WIN32 */
}
# endif /* ACE_HAS_WCHAR */
-#endif /* ACE_HAS_WINCE */
+#endif /* !ACE_LACKS_REALPATH */
ACE_INLINE ACE_EXIT_HOOK
ACE_OS::set_exit_hook (ACE_EXIT_HOOK exit_hook)