summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_NS_stdlib.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2009-04-06 06:25:50 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2009-04-06 06:25:50 +0000
commitc6a4c9be1f81501ddaba4e486cac44016301502c (patch)
treeb8d3c467ab042f3ab10489f75bb8e8a4710f3986 /ACE/ace/OS_NS_stdlib.cpp
parent8511a729a456ebb0540bd8fab3f3e9f6e6486964 (diff)
downloadATCD-c6a4c9be1f81501ddaba4e486cac44016301502c.tar.gz
Mon Apr 6 07:25:22 UTC 2009 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/config-integritySCA.h: Added ACE_LACKS_PUTENV_PROTOTYPE * ace/config-WinCE.h: WinCE doesn't have environment variables * ace/OS_NS_stdlib.cpp: * ace/OS_NS_stdlib.h: * ace/OS_NS_stdlib.inl: * ace/OS_NS_unistd.cpp: Added setenv/unsetenv wrappers and used a specific define per environment method
Diffstat (limited to 'ACE/ace/OS_NS_stdlib.cpp')
-rw-r--r--ACE/ace/OS_NS_stdlib.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/ACE/ace/OS_NS_stdlib.cpp b/ACE/ace/OS_NS_stdlib.cpp
index 66ebde8c3d1..0ddc012e888 100644
--- a/ACE/ace/OS_NS_stdlib.cpp
+++ b/ACE/ace/OS_NS_stdlib.cpp
@@ -92,7 +92,7 @@ ACE_OS::free (void *ptr)
ACE_TCHAR *
ACE_OS::getenvstrings (void)
{
-#if defined (ACE_LACKS_ENV)
+#if defined (ACE_LACKS_GETENVSTRINGS)
ACE_NOTSUP_RETURN (0);
#elif defined (ACE_WIN32)
# if defined (ACE_USES_WCHAR)
@@ -116,7 +116,7 @@ ACE_OS::strenvdup (const ACE_TCHAR *str)
#if defined (ACE_HAS_WINCE)
// WinCE doesn't have environment variables so we just skip it.
return ACE_OS::strdup (str);
-#elif defined (ACE_LACKS_ENV)
+#elif defined (ACE_LACKS_STRENVDUP)
ACE_UNUSED_ARG (str);
ACE_NOTSUP_RETURN (0);
#else
@@ -596,7 +596,7 @@ ACE_OS::strtol_emulation (const char *nptr, char **endptr, int base)
}
#endif /* ACE_LACKS_STRTOL */
-#if defined (ACE_HAS_WCHAR) && defined (ACE_LACKS_WCSTOL)
+#if defined (ACE_HAS_WCHAR) && defined (ACE_LACKS_WCSTOL)
long
ACE_OS::wcstol_emulation (const wchar_t *nptr,
wchar_t **endptr,
@@ -734,7 +734,7 @@ ACE_OS::strtoul_emulation (const char *nptr,
#endif /* ACE_LACKS_STRTOUL */
-#if defined (ACE_HAS_WCHAR) && defined (ACE_LACKS_WCSTOUL)
+#if defined (ACE_HAS_WCHAR) && defined (ACE_LACKS_WCSTOUL)
unsigned long
ACE_OS::wcstoul_emulation (const wchar_t *nptr,
wchar_t **endptr,
@@ -871,7 +871,7 @@ ACE_OS::strtoll_emulation (const char *nptr,
}
#endif /* ACE_LACKS_STRTOLL */
-#if defined (ACE_HAS_WCHAR) && defined (ACE_LACKS_WCSTOLL)
+#if defined (ACE_HAS_WCHAR) && defined (ACE_LACKS_WCSTOLL)
ACE_INT64
ACE_OS::wcstoll_emulation (const wchar_t *nptr,
wchar_t **endptr,
@@ -1010,7 +1010,7 @@ ACE_OS::strtoull_emulation (const char *nptr,
}
#endif /* ACE_LACKS_STRTOULL */
-#if defined (ACE_HAS_WCHAR) && defined (ACE_LACKS_WCSTOULL)
+#if defined (ACE_HAS_WCHAR) && defined (ACE_LACKS_WCSTOULL)
ACE_UINT64
ACE_OS::wcstoull_emulation (const wchar_t *nptr,
wchar_t **endptr,