summaryrefslogtreecommitdiff
path: root/tests/Env_Value_Test.cpp
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-03-06 21:48:04 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-03-06 21:48:04 +0000
commit3ae167a5e9d819407fa4a05f0d518b25265d76bf (patch)
tree5ec27b869b80ab5e84a381932afb8d7df29634aa /tests/Env_Value_Test.cpp
parenta7b3c4626215b3e743ad4a092ac8619f192a6437 (diff)
downloadATCD-3ae167a5e9d819407fa4a05f0d518b25265d76bf.tar.gz
ChangeLogTag:Wed Mar 6 14:43:34 2002 Nanbor Wang <nanbor@cs.wustl.edu>
Diffstat (limited to 'tests/Env_Value_Test.cpp')
-rw-r--r--tests/Env_Value_Test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Env_Value_Test.cpp b/tests/Env_Value_Test.cpp
index 82e08b524fe..e01e374fd4d 100644
--- a/tests/Env_Value_Test.cpp
+++ b/tests/Env_Value_Test.cpp
@@ -37,14 +37,14 @@ int
// ACE_HAS_NONSTATIC_OBJECT_MANAGER only allows main to have two
// arguments. And on platforms that lack fork (), we can't use spawn.
-main (int argc, ACE_TCHAR* [])
+ACE_TMAIN (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 */
-main (int argc, ACE_TCHAR * [], ACE_TCHAR *envp[])
+ACE_TMAIN (int argc, ACE_TCHAR * [], ACE_TCHAR *envp[])
{
if (argc == 1)
{