Cleanup ACE_HAS_PTHREAD_SIGMASK_PROTOTYPE, all platforms support it so far as I can...
[ACE_TAO.git] / ACE / bin / envinfo.cpp
blob3155580da089db3394479d1759fd38687b737a65
1 #include "ace/ACE.h"
2 #include "ace/Log_Msg.h"
3 #include "ace/OS_main.h"
4 #include "ace/OS_NS_sys_utsname.h"
6 int
7 ACE_TMAIN (int, ACE_TCHAR *[])
9 ACE_DEBUG ((LM_INFO, ACE_TEXT ("ACE: %u.%u.%u\n"),
10 ACE::major_version(),
11 ACE::minor_version(),
12 ACE::micro_version()));
14 ACE_utsname uname;
15 ACE_OS::uname(&uname);
16 ACE_DEBUG ((LM_INFO,
17 ACE_TEXT ("OS: %C %C\n"),
18 uname.sysname,
19 uname.release));
21 ACE_DEBUG ((LM_INFO, ACE_TEXT ("Compiler: %s %u.%u\n"),
22 ACE::compiler_name(),
23 ACE::compiler_major_version(),
24 ACE::compiler_minor_version(),
25 ACE::compiler_beta_version()));
27 return 0;