|
Boost-Commit : |
From: chris_at_[hidden]
Date: 2007-10-23 04:09:21
Author: chris_kohlhoff
Date: 2007-10-23 04:09:21 EDT (Tue, 23 Oct 2007)
New Revision: 40344
URL: http://svn.boost.org/trac/boost/changeset/40344
Log:
Only use pselect() when compiling with aCC.
Text files modified:
trunk/boost/asio/detail/socket_ops.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/asio/detail/socket_ops.hpp
==============================================================================
--- trunk/boost/asio/detail/socket_ops.hpp (original)
+++ trunk/boost/asio/detail/socket_ops.hpp 2007-10-23 04:09:21 EDT (Tue, 23 Oct 2007)
@@ -550,7 +550,7 @@
timeout->tv_usec = 1000;
#endif // defined(BOOST_WINDOWS) || defined(__CYGWIN__)
-#if defined(__hpux)
+#if defined(__hpux) && defined(__HP_aCC)
timespec ts;
ts.tv_sec = timeout ? timeout->tv_sec : 0;
ts.tv_nsec = timeout ? timeout->tv_usec * 1000 : 0;
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk