Revert HP-UX/aCC change to select() wrapper as it breaks more than it

fixes.
This commit is contained in:
chris_kohlhoff 2007-10-17 02:15:33 +00:00
parent 0f154c3403
commit 8723f91f7f

View File

@ -541,15 +541,8 @@ inline int select(int nfds, fd_set* readfds, fd_set* writefds,
&& timeout->tv_usec > 0 && timeout->tv_usec < 1000)
timeout->tv_usec = 1000;
#endif // defined(BOOST_WINDOWS) || defined(__CYGWIN__)
#if defined(__hpux) && defined(__HP_aCC) && !defined(_XOPEN_SOURCE_EXTENDED)
return error_wrapper(::select(nfds,
reinterpret_cast<int*>(readfds), reinterpret_cast<int*>(writefds),
reinterpret_cast<int*>(exceptfds), timeout), ec);
#else
return error_wrapper(::select(nfds, readfds,
writefds, exceptfds, timeout), ec);
#endif
}
inline int poll_read(socket_type s, asio::error_code& ec)