libstdc++: Allow net::io_context to compile without <poll.h> [PR 100180]
authorJonathan Wakely <jwakely@redhat.com>
Fri, 23 Apr 2021 12:38:05 +0000 (13:38 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 23 Apr 2021 12:54:39 +0000 (13:54 +0100)
commit0e1e7b77904f1fe2a6dbfe84bb4fc026584ba480
tree7762e7cd9ba9cec9f1757e0b5544fc383f7b306f
parent3517dfe05c05a48885149334143230fcf0ebe6be
libstdc++: Allow net::io_context to compile without <poll.h> [PR 100180]

This adds dummy placeholders to net::io_context so that it can still be
compiled on targets without <poll.h>.

libstdc++-v3/ChangeLog:

PR libstdc++/100180
* include/experimental/io_context (io_context): Define
dummy_pollfd type so that most member functions still compile
without <poll.h> and struct pollfd.
libstdc++-v3/include/experimental/io_context