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 Update copyright years. 2021-01-04 10:26:59 +01:00
execution_context Update copyright years. 2021-01-04 10:26:59 +01:00
executor Update copyright years. 2021-01-04 10:26:59 +01:00
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 Update copyright years. 2021-01-04 10:26:59 +01:00
timer/waitable Update copyright years. 2021-01-04 10:26:59 +01:00
headers.cc Update copyright years. 2021-01-04 10:26:59 +01:00