gcc/libstdc++-v3/testsuite/experimental/net
Jonathan Wakely 0d501c3385 libstdc++: Use <sys/socket.h> features conditionally [PR 100285]
This makes the uses of getsockopt and setsockopt in
<experimental/socket> conditional on the availability of <sys/socket.h>.

It also fixes a test to check for <sys/socket.h> instead of <socket.h>.

libstdc++-v3/ChangeLog:

	PR libstdc++/100285
	* include/experimental/socket (__basic_socket_impl::set_option)
	(__basic_socket_impl::get_option) [!_GLIBCXX_HAVE_SYS_SOCKET_H]:
	Just set error code.
	* testsuite/experimental/net/socket/socket_base.cc: CHeck
	for <sys/socket.h> not <socket.h>.
2021-04-30 14:29:20 +01:00
..
buffer
execution_context
executor
internet libstdc++: Define effective-target for net::ip features [PR 100351] 2021-04-30 14:25:08 +01:00
socket libstdc++: Use <sys/socket.h> features conditionally [PR 100285] 2021-04-30 14:29:20 +01:00
system_context
timer/waitable
headers.cc