diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-09-16 21:19:02 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-09-16 21:19:02 +0000 |
commit | 40fdc8a404e75ab03b68cc62e9987cf208fd8c30 (patch) | |
tree | 37d9c4d3abe4aefd8a34ed797883dd2cd4862ca7 /ace/OS.h | |
parent | c254b281f1b9a4ca19dd0c3ee73a0654a7718909 (diff) | |
download | ATCD-40fdc8a404e75ab03b68cc62e9987cf208fd8c30.tar.gz |
This commit was manufactured by cvs2svn to create branchtypecode-overhaul
'typecode-overhaul'.
Diffstat (limited to 'ace/OS.h')
-rw-r--r-- | ace/OS.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -297,6 +297,9 @@ class ACE_Timeout_Manager; # if defined (ACE_HAS_TERM_IOCTLS) # include "ace/os_include/os_termios.h" +# if defined (HPUX) +# include /**/ <sys/modem.h> +# endif /* HPUX */ # endif /* ACE_HAS_TERM_IOCTLS */ # if defined (ACE_HAS_AIO_CALLS) @@ -305,6 +308,14 @@ class ACE_Timeout_Manager; # include "ace/os_include/os_limits.h" // <sys/param.h> +// This is here for ACE_OS::num_processors_online(). On HP-UX, it +// needs sys/param.h (above) and sys/pstat.h. The implementation of the +// num_processors_online() method also uses 'defined (__hpux)' to decide +// whether or not to try the syscall. +# if defined (__hpux) +# include /**/ <sys/pstat.h> +# endif /* __hpux **/ + # if !defined (ACE_LACKS_UNIX_DOMAIN_SOCKETS) && !defined (VXWORKS) # include "ace/os_include/sys/os_un.h" # endif /* ACE_LACKS_UNIX_DOMAIN_SOCKETS */ |