diff -uNdr boost_orig/asio/detail/impl/socket_ops.ipp boost/asio/detail/impl/socket_ops.ipp
|
|
|
544 | 544 | // get spurious readiness notifications from the reactor. |
545 | 545 | #if defined(BOOST_ASIO_WINDOWS) \ |
546 | 546 | || defined(__CYGWIN__) \ |
547 | | || defined(__SYMBIAN32__) |
| 547 | || defined(__SYMBIAN32__) \ |
| 548 | || defined(__VXWORKS__) |
548 | 549 | fd_set write_fds; |
549 | 550 | FD_ZERO(&write_fds); |
550 | 551 | FD_SET(s, &write_fds); |
… |
… |
|
593 | 594 | int socketpair(int af, int type, int protocol, |
594 | 595 | socket_type sv[2], boost::system::error_code& ec) |
595 | 596 | { |
596 | | #if defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__) |
| 597 | #if defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__) || defined(__VXWORKS__) |
597 | 598 | (void)(af); |
598 | 599 | (void)(type); |
599 | 600 | (void)(protocol); |
… |
… |
|
1773 | 1774 | |
1774 | 1775 | #if defined(BOOST_ASIO_WINDOWS) \ |
1775 | 1776 | || defined(__CYGWIN__) \ |
1776 | | || defined(__SYMBIAN32__) |
| 1777 | || defined(__SYMBIAN32__) \ |
| 1778 | || defined(__VXWORKS__) |
1777 | 1779 | fd_set fds; |
1778 | 1780 | FD_ZERO(&fds); |
1779 | 1781 | FD_SET(s, &fds); |
… |
… |
|
1814 | 1816 | |
1815 | 1817 | #if defined(BOOST_ASIO_WINDOWS) \ |
1816 | 1818 | || defined(__CYGWIN__) \ |
1817 | | || defined(__SYMBIAN32__) |
| 1819 | || defined(__SYMBIAN32__) \ |
| 1820 | || defined(__VXWORKS__) |
1818 | 1821 | fd_set fds; |
1819 | 1822 | FD_ZERO(&fds); |
1820 | 1823 | FD_SET(s, &fds); |
… |
… |
|
1855 | 1858 | |
1856 | 1859 | #if defined(BOOST_ASIO_WINDOWS) \ |
1857 | 1860 | || defined(__CYGWIN__) \ |
1858 | | || defined(__SYMBIAN32__) |
| 1861 | || defined(__SYMBIAN32__) \ |
| 1862 | || defined(__VXWORKS__) |
1859 | 1863 | fd_set write_fds; |
1860 | 1864 | FD_ZERO(&write_fds); |
1861 | 1865 | FD_SET(s, &write_fds); |
diff -uNdr boost_orig/asio/detail/socket_types.hpp boost/asio/detail/socket_types.hpp
|
|
|
53 | 53 | # include <boost/asio/detail/old_win_sdk_compat.hpp> |
54 | 54 | #else |
55 | 55 | # include <sys/ioctl.h> |
56 | | # if !defined(__SYMBIAN32__) |
| 56 | # if !defined(__SYMBIAN32__) && !defined(__VXWORKS__) |
57 | 57 | # include <sys/poll.h> |
58 | 58 | # endif |
59 | 59 | # include <sys/types.h> |