summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_NS_stdlib.h
diff options
context:
space:
mode:
authorolli <olli@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2009-11-05 13:47:27 +0000
committerolli <olli@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2009-11-05 13:47:27 +0000
commit63782d3713b3ba2da9500320a33960602cc8dace (patch)
tree8b323dac9cb11ebd992ea83e011df59991e4f15c /ACE/ace/OS_NS_stdlib.h
parent52d989109dfc019cffad06ff82f532e69cee76b3 (diff)
downloadATCD-63782d3713b3ba2da9500320a33960602cc8dace.tar.gz
ChangeLogTag: Thu Nov 5 13:46:34 UTC 2009 Olli Savia <ops@iki.fi>
Diffstat (limited to 'ACE/ace/OS_NS_stdlib.h')
-rw-r--r--ACE/ace/OS_NS_stdlib.h21
1 files changed, 12 insertions, 9 deletions
diff --git a/ACE/ace/OS_NS_stdlib.h b/ACE/ace/OS_NS_stdlib.h
index ee64c6037b6..f1bf2954b0f 100644
--- a/ACE/ace/OS_NS_stdlib.h
+++ b/ACE/ace/OS_NS_stdlib.h
@@ -60,26 +60,29 @@ extern "C" {
* using the pre-processor.
*/
+#if !defined (ACE_LACKS_STRTOLL)
inline ACE_INT64 ace_strtoll_helper (const char *s, char **ptr, int base)
{
-#if defined (strtoll)
+# if defined (strtoll)
return strtoll (s, ptr, base);
-#undef strtoll
-#else
+# undef strtoll
+# else
return ACE_STD_NAMESPACE::strtoll (s, ptr, base);
-#endif /* strtoll */
+# endif /* strtoll */
}
+#endif /* ACE_LACKS_STRTOLL */
+#if !defined (ACE_LACKS_STRTOULL)
inline ACE_INT64 ace_strtoull_helper (const char *s, char **ptr, int base)
{
-#if defined (strtoull)
+# if defined (strtoull)
return strtoull (s, ptr, base);
-#undef strtoull
-#else
+# undef strtoull
+# else
return ACE_STD_NAMESPACE::strtoull (s, ptr, base);
-#endif /* strtoull */
+# endif /* strtoull */
}
-
+#endif /* ACE_LACKS_STRTOULL */
ACE_BEGIN_VERSIONED_NAMESPACE_DECL