diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2021-08-26 12:06:55 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2021-08-26 12:41:28 +0100 |
commit | cd67d138ec6006d650d1ba96c8a1322b285723cd (patch) | |
tree | 886adb8089eadb3fb25be227526f90ca9e12de82 /gcc | |
parent | e370a2482d41fd382055695b9a0a638ce75e1038 (diff) | |
download | gcc-cd67d138ec6006d650d1ba96c8a1322b285723cd.zip gcc-cd67d138ec6006d650d1ba96c8a1322b285723cd.tar.gz gcc-cd67d138ec6006d650d1ba96c8a1322b285723cd.tar.bz2 |
libstdc++: Make Networking TS headers more portable [PR100285]
Add more preprocessor conditions to check for constants being defined
before using them, so that the Networking TS headers can be compiled on
a wider range of platforms.
Signed-off-by: Jonathan Wakely <jwakely@redhat.com>
libstdc++-v3/ChangeLog:
PR libstdc++/100285
* configure.ac: Check for O_NONBLOCK.
* configure: Regenerate.
* include/experimental/internet: Include <ws2tcpip.h> for
Windows. Use preprocessor conditions around more constants.
* include/experimental/socket: Use preprocessor conditions
around more constants.
* testsuite/experimental/net/internet/resolver/base.cc: Only use
constants when the corresponding C macro is defined.
* testsuite/experimental/net/socket/basic_socket.cc: Likewise.
* testsuite/experimental/net/socket/socket_base.cc: Likewise.
Make preprocessor checks more fine-grained.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions