aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2023-06-09 12:15:21 +0100
committerJonathan Wakely <jwakely@redhat.com>2023-06-09 13:15:39 +0100
commit793ed718b522b15e2d758eca953feeec1979fe2c (patch)
treeff9ee99fa941747070734a64e58c926ddf368fa2 /gcc
parent9a3558cf1fb40bc43ab1d99b3b87de60a8bca4d7 (diff)
downloadgcc-793ed718b522b15e2d758eca953feeec1979fe2c.zip
gcc-793ed718b522b15e2d758eca953feeec1979fe2c.tar.gz
gcc-793ed718b522b15e2d758eca953feeec1979fe2c.tar.bz2
libstdc++: Add preprocessor checks to <experimental/internet> [PR100285]
We can't define endpoints and resolvers without the relevant OS support. If IPPROTO_TCP and IPPROTO_UDP are both udnefined then we won't need basic_endpoint and basic_resovler anyway, so make them depend on those macros. libstdc++-v3/ChangeLog: PR libstdc++/100285 * include/experimental/internet [IPPROTO_TCP || IPPROTO_UDP] (basic_endpoint, basic_resolver_entry, resolver_base) (basic_resolver_results, basic_resolver): Only define if the tcp or udp protocols will be defined.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions