diff options
author | dhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-05-17 21:49:04 +0000 |
---|---|---|
committer | dhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-05-17 21:49:04 +0000 |
commit | b1e7304b4fa05fcaa09753a9e77fa2dca85fe09e (patch) | |
tree | f6f6d6c005bf2d97bdb450d27bb26fa461ac3d90 /tests/Env_Value_Test.cpp | |
parent | e83a1631cd3ba3acab4d3583b3428f15ee0b29ac (diff) | |
download | ATCD-b1e7304b4fa05fcaa09753a9e77fa2dca85fe09e.tar.gz |
ChangeLogTag:Sat May 17 19:31:43 UTC 2003 Don Hinton <dhinton@dresystems.com>dre_030425
Diffstat (limited to 'tests/Env_Value_Test.cpp')
-rw-r--r-- | tests/Env_Value_Test.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/Env_Value_Test.cpp b/tests/Env_Value_Test.cpp index e01e374fd4d..8971ffd39a6 100644 --- a/tests/Env_Value_Test.cpp +++ b/tests/Env_Value_Test.cpp @@ -33,18 +33,20 @@ do { \ } while (0) int -#if defined (ACE_HAS_NONSTATIC_OBJECT_MANAGER) || defined (ACE_LACKS_FORK) +// This has been unconditionally turned on for the time being since I can't +// figure out an easy way to enable it and still keep ACE_TMAIN in a seperate +// cpp. +#if 1 || defined (ACE_HAS_NONSTATIC_OBJECT_MANAGER) || defined (ACE_LACKS_FORK) // ACE_HAS_NONSTATIC_OBJECT_MANAGER only allows main to have two // arguments. And on platforms that lack fork (), we can't use spawn. - -ACE_TMAIN (int argc, ACE_TCHAR* []) +run_main (int argc, ACE_TCHAR* []) { ACE_UNUSED_ARG (argc); ACE_OS::putenv (ACE_TEXT ("TEST_VALUE_POSITIVE=10.2")); ACE_OS::putenv (ACE_TEXT ("TEST_VALUE_NEGATIVE=-10.2")); #else /* ! ACE_HAS_NONSTATIC_OBJECT_MANAGER && ! ACE_LACKS_FORK */ -ACE_TMAIN (int argc, ACE_TCHAR * [], ACE_TCHAR *envp[]) +run_main (int argc, ACE_TCHAR * [], ACE_TCHAR *envp[]) { if (argc == 1) { |