diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2001-02-18 23:18:05 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2001-02-18 23:18:05 +0000 |
commit | eac93696c139c7dcd25e025dc0aea563b18e5601 (patch) | |
tree | a27ff1cc97b04ce40d616964d1987320bc1ebd84 /tests | |
parent | 87a70f6ede2b410d7f251a9a6fa91c516f2ebb46 (diff) | |
download | ATCD-eac93696c139c7dcd25e025dc0aea563b18e5601.tar.gz |
ChangeLogTag:Sun Feb 18 17:16:41 2001 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Tokens_Test.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/Tokens_Test.cpp b/tests/Tokens_Test.cpp index 94cd5ff2656..30826825859 100644 --- a/tests/Tokens_Test.cpp +++ b/tests/Tokens_Test.cpp @@ -205,6 +205,7 @@ main (int, ACE_TCHAR *[]) { ACE_START_TEST (ACE_TEXT ("Tokens_Test")); #if defined (ACE_HAS_THREADS) +#if defined (ACE_HAS_TOKENS_LIBRARY) ACE_Token_Proxy *A = 0, *B = 0, *R = 0, *W = 0; ACE_NEW_RETURN (A, @@ -301,9 +302,10 @@ main (int, ACE_TCHAR *[]) ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("(%t) main thread exiting.\n"))); -#elif defined (ACE_HAS_TOKENS_LIBRARY) +#else ACE_ERROR ((LM_INFO, ACE_TEXT ("ACE must be compiled with -DACE_HAS_TOKENS_LIBRARY to run this test\n"))); +#endif /* ACE_HAS_TOKENS_LIBRARY */ #else ACE_ERROR ((LM_INFO, ACE_TEXT ("threads not supported on this platform\n"))); |