Skip to content

Fix GNU/Hurd build #451

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion include/boost/asio/detail/socket_types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,9 @@ const int max_iov_len = 16;
# endif
# define BOOST_ASIO_OS_DEF_SA_RESTART SA_RESTART
# define BOOST_ASIO_OS_DEF_SA_NOCLDSTOP SA_NOCLDSTOP
# define BOOST_ASIO_OS_DEF_SA_NOCLDWAIT SA_NOCLDWAIT
# if defined(SA_NOCLDWAIT)
# define BOOST_ASIO_OS_DEF_SA_NOCLDWAIT SA_NOCLDWAIT
# endif
#endif
const int custom_socket_option_level = 0xA5100000;
const int enable_connection_aborted_option = 1;
Expand Down
2 changes: 2 additions & 0 deletions include/boost/asio/signal_set_base.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ class signal_set_base
none = 0,
restart = BOOST_ASIO_OS_DEF(SA_RESTART),
no_child_stop = BOOST_ASIO_OS_DEF(SA_NOCLDSTOP),
#if defined(BOOST_ASIO_OS_DEF_SA_NOCLDWAIT)
no_child_wait = BOOST_ASIO_OS_DEF(SA_NOCLDWAIT),
#endif
dont_care = -1
};

Expand Down