summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_NS_stdlib.inl
diff options
context:
space:
mode:
authormcorino <mcorino@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2006-11-01 09:09:01 +0000
committermcorino <mcorino@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2006-11-01 09:09:01 +0000
commit5095148d7c42f47af41155dd5e81106696d6871f (patch)
tree0eb4c3be5cdd9d469fca0a255df9cbc786007d5d /ACE/ace/OS_NS_stdlib.inl
parent9ddf01e2aac1cfdec02fc4038a2b8d9bc505cb8e (diff)
downloadATCD-5095148d7c42f47af41155dd5e81106696d6871f.tar.gz
ChangeLogTag: Wed Nov 01 09:05:10 UTC 2006 Martin Corino <mcorino@remedy.nl>
Diffstat (limited to 'ACE/ace/OS_NS_stdlib.inl')
-rw-r--r--ACE/ace/OS_NS_stdlib.inl12
1 files changed, 12 insertions, 0 deletions
diff --git a/ACE/ace/OS_NS_stdlib.inl b/ACE/ace/OS_NS_stdlib.inl
index 4604b5d2005..3099a5e2c70 100644
--- a/ACE/ace/OS_NS_stdlib.inl
+++ b/ACE/ace/OS_NS_stdlib.inl
@@ -79,6 +79,12 @@ 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 */
@@ -92,6 +98,12 @@ 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 */