summaryrefslogtreecommitdiff
path: root/tests/Env_Value_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Env_Value_Test.cpp')
-rw-r--r--tests/Env_Value_Test.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/Env_Value_Test.cpp b/tests/Env_Value_Test.cpp
index ca9674127a0..131197fdd45 100644
--- a/tests/Env_Value_Test.cpp
+++ b/tests/Env_Value_Test.cpp
@@ -44,15 +44,8 @@ run_main (int argc, ACE_TCHAR* [])
{
ACE_UNUSED_ARG (argc);
- // Only Win32 can set wide-char environment strings. So, for all
- // others, use char string literals regardless of ACE_USES_WCHAR.
-# if defined (ACE_WIN32)
ACE_OS::putenv (ACE_TEXT ("TEST_VALUE_POSITIVE=10.2"));
ACE_OS::putenv (ACE_TEXT ("TEST_VALUE_NEGATIVE=-10.2"));
-# else
- ACE_OS::putenv ("TEST_VALUE_POSITIVE=10.2");
- ACE_OS::putenv ("TEST_VALUE_NEGATIVE=-10.2");
-# endif /* ACE_WIN32 */
#else /* ! ACE_HAS_NONSTATIC_OBJECT_MANAGER && ! ACE_LACKS_FORK */
run_main (int argc, ACE_TCHAR * [], ACE_TCHAR *envp[])
{