|
Boost-Commit : |
From: chris_at_[hidden]
Date: 2008-01-14 08:21:38
Author: chris_kohlhoff
Date: 2008-01-14 08:21:37 EST (Mon, 14 Jan 2008)
New Revision: 42753
URL: http://svn.boost.org/trac/boost/changeset/42753
Log:
Don't include sys/time.h when compiling with aCC, as that header does not
supply pselect(), which is needed for HP-UX/aCC to work correctly.
Text files modified:
trunk/boost/asio/detail/socket_types.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/asio/detail/socket_types.hpp
==============================================================================
--- trunk/boost/asio/detail/socket_types.hpp (original)
+++ trunk/boost/asio/detail/socket_types.hpp 2008-01-14 08:21:37 EST (Mon, 14 Jan 2008)
@@ -92,7 +92,7 @@
# include <sys/ioctl.h>
# include <sys/poll.h>
# include <sys/types.h>
-# if defined(__hpux)
+# if defined(__hpux) && !defined(__HP_aCC)
# include <sys/time.h>
# else
# include <sys/select.h>
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