diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-03-25 20:55:21 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-03-25 20:55:21 +0000 |
commit | 30cb35af32c6fac86b1dfc7f16b6ef1c33ab2077 (patch) | |
tree | 4277a2d017574fe821a7516e47922fc6fbb2e60d /tests | |
parent | 5246382ea6ff63d7b5f83a108d78f90a43b68574 (diff) | |
download | ATCD-30cb35af32c6fac86b1dfc7f16b6ef1c33ab2077.tar.gz |
Print out ACE version information even with ACE_HAS_MINIMAL_ACE_OS.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Basic_Types_Test.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/Basic_Types_Test.cpp b/tests/Basic_Types_Test.cpp index bf847958860..b119c7e6a05 100644 --- a/tests/Basic_Types_Test.cpp +++ b/tests/Basic_Types_Test.cpp @@ -17,6 +17,9 @@ // ============================================================================ #include "ace/OS.h" +// Don't use the ACE version accessors in class ACE, so that we can +// support this test cleanly with the OS component, only. +#include "ace/Version.h" #if defined (ACE_HAS_MINIMAL_ACE_OS) // Redefine these macros to allow the test to print out useful info. @@ -63,12 +66,10 @@ main (int, ASYS_TCHAR *[]) { ACE_START_TEST (ASYS_TEXT ("Basic_Types_Test")); -#if !defined (ACE_HAS_MINIMAL_ACE_OS) ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("This is ACE Version %u.%u.%u\n\n"), - ACE::major_version (), - ACE::minor_version(), - ACE::beta_version())); -#endif /* ! ACE_HAS_MINIMAL_ACE_OS */ + ACE_MAJOR_VERSION, + ACE_MINOR_VERSION, + ACE_BETA_VERSION)); u_int errors = 0; |