From a4d91e2215e7061b57b44471d5cf377bdec75bb6 Mon Sep 17 00:00:00 2001 From: levine Date: Wed, 13 Oct 1999 15:14:21 +0000 Subject: ChangeLogTag: Wed Oct 13 10:11:47 1999 David L. Levine --- tests/Malloc_Test.cpp | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'tests/Malloc_Test.cpp') diff --git a/tests/Malloc_Test.cpp b/tests/Malloc_Test.cpp index 19aa4f746e0..c95b3a63b90 100644 --- a/tests/Malloc_Test.cpp +++ b/tests/Malloc_Test.cpp @@ -29,7 +29,7 @@ USELIB("..\ace\aced.lib"); //--------------------------------------------------------------------------- #endif /* defined(__BORLANDC__) && __BORLANDC__ >= 0x0530 */ -#if !defined (__Lynx__) || !defined (ACE_LACKS_FORK) || defined (ACE_WIN32) +#if !defined (__Lynx__) && (!defined (ACE_LACKS_FORK) || defined (ACE_WIN32)) typedef ACE_Malloc MALLOC; @@ -150,7 +150,8 @@ print (const char *process_name, t->i2_, t->i3_)); ACE_DEBUG ((LM_DEBUG, - ASYS_TEXT ("*t->bpl_ = %d, t->long_test_->array_[0] = %d\n>>>>\n"), + ASYS_TEXT ("*t->bpl_ = %d, t->long_test_->array_[0] = ") + ASYS_TEXT ("%d\n>>>>\n"), *t->long_test_->bpl_, t->long_test_->array_[0])); } @@ -205,7 +206,7 @@ main (int argc, ASYS_TCHAR *[]) // No arguments means we're the parent process. ACE_Process_Options options (1); - options.command_line (ACE_TEXT (".") + options.command_line (ACE_TEXT (".") ACE_DIRECTORY_SEPARATOR_STR ACE_TEXT ("Malloc_Test") ACE_PLATFORM_EXE_SUFFIX @@ -216,7 +217,8 @@ main (int argc, ASYS_TCHAR *[]) ACE_ASSERT (data != 0); ACE_DEBUG ((LM_DEBUG, - ASYS_TEXT ("(%P) PARENT allocator at = %x, data allocated at %x\n"), + ASYS_TEXT ("(%P) PARENT allocator at = %x, ") + ASYS_TEXT ("data allocated at %x\n"), myalloc, data)); myalloc->dump (); @@ -247,8 +249,9 @@ main (int argc, ASYS_TCHAR *[]) ACE_ASSERT (result != -1); ACE_DEBUG ((LM_DEBUG, - ASYS_TEXT ("(%P) CHILD allocator at = %x, data allocated at %x\n"), - myalloc, + ASYS_TEXT ("(%P) CHILD allocator at = %x, ") + ASYS_TEXT ("data allocated at %x\n"), + myalloc, data)); myalloc->dump (); child (); @@ -288,4 +291,4 @@ main (int, ASYS_TCHAR *[]) ACE_END_TEST; return 0; } -#endif /* !defined (__Lynx__) || !defined (ACE_LACKS_FORK) || defined (ACE_WIN32) */ +#endif /* ! __Lynx__ && (! ACE_LACKS_FORK || ACE_WIN32) */ -- cgit v1.2.1