diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-04-23 21:35:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-23 21:35:14 +0200 |
commit | 7f76346bc32eb5b7bd29ce0bce4d6be38ce97641 (patch) | |
tree | 59bb02c4eedcf8a2543cb18aa5a2b2edd5890507 /ACE | |
parent | 6b2749bef34f4882a96dccc4c53a288a2d4d04d5 (diff) | |
parent | 0a0646ce59f66ff408755774c82a80db3eab93b4 (diff) | |
download | ATCD-7f76346bc32eb5b7bd29ce0bce4d6be38ce97641.tar.gz |
Merge pull request #1479 from jwillemsen/jwi-envinfo
Cleanup and simplified this small test source
Diffstat (limited to 'ACE')
-rw-r--r-- | ACE/bin/envinfo.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/ACE/bin/envinfo.cpp b/ACE/bin/envinfo.cpp index b7d1a8aa17d..3155580da08 100644 --- a/ACE/bin/envinfo.cpp +++ b/ACE/bin/envinfo.cpp @@ -3,29 +3,20 @@ #include "ace/OS_main.h" #include "ace/OS_NS_sys_utsname.h" - - int ACE_TMAIN (int, ACE_TCHAR *[]) { ACE_DEBUG ((LM_INFO, ACE_TEXT ("ACE: %u.%u.%u\n"), ACE::major_version(), ACE::minor_version(), - ACE::beta_version())); + ACE::micro_version())); ACE_utsname uname; ACE_OS::uname(&uname); -#if defined (ACE_LACKS_UTSNAME_T) - ACE_DEBUG ((LM_INFO, - ACE_TEXT ("OS: %s %s\n"), - uname.sysname, - uname.release)); -#else ACE_DEBUG ((LM_INFO, ACE_TEXT ("OS: %C %C\n"), uname.sysname, uname.release)); -#endif ACE_DEBUG ((LM_INFO, ACE_TEXT ("Compiler: %s %u.%u\n"), ACE::compiler_name(), @@ -35,4 +26,3 @@ ACE_TMAIN (int, ACE_TCHAR *[]) return 0; } - |