diff options
Diffstat (limited to 'tests/Atomic_Op_Test.cpp')
-rw-r--r-- | tests/Atomic_Op_Test.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/Atomic_Op_Test.cpp b/tests/Atomic_Op_Test.cpp index 61c8c3bb27a..c3c41bbff24 100644 --- a/tests/Atomic_Op_Test.cpp +++ b/tests/Atomic_Op_Test.cpp @@ -20,16 +20,17 @@ // ============================================================================ #include "tests/test_config.h" -#include "ace/Atomic_Op.h" ACE_RCSID(tests, Atomic_Op_Test, "$Id$") #if defined (ACE_HAS_THREADS) +#include "ace/Atomic_Op.h" + enum { TEST_ITERATIONS = 1000000 }; int -ACE_TMAIN (int, ACE_TCHAR *[]) +run_main (int, ACE_TCHAR *[]) { ACE_START_TEST (ACE_TEXT ("Atomic_Op_Test")); @@ -210,7 +211,7 @@ template class ACE_Atomic_Op_Ex<ACE_Thread_Mutex, int>; #else int -ACE_TMAIN (int, ACE_TCHAR *[]) +run_main (int, ACE_TCHAR *[]) { ACE_START_TEST (ACE_TEXT ("Atomic_Op_Test")); |