diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2019-03-11 16:28:11 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2019-03-11 16:28:11 +0000 |
commit | 187fdaea67b5f27f43a2c119b2a66cca7e6d7cb3 (patch) | |
tree | 8847a9acf155c8bc3fecb9dc1621522df9d6898f /libstdc++-v3/config.h.in | |
parent | 93964ebd2fec8d9e2132e118b02f93bea074ebd2 (diff) | |
download | gcc-187fdaea67b5f27f43a2c119b2a66cca7e6d7cb3.zip gcc-187fdaea67b5f27f43a2c119b2a66cca7e6d7cb3.tar.gz gcc-187fdaea67b5f27f43a2c119b2a66cca7e6d7cb3.tar.bz2 |
PR libstdc++/89460 Fix Networking TS test failures on HP-UX
Check for availability of POSIX sockatmark before using it.
Rename _S_ntoh overloads that are ambiguous when passed an integral type
that is neither uint16_t nor uint32_t.
PR libstdc++/89460
* configure.ac: Check for sockatmark.
* crossconfig.m4: Check for sockatmark.
* config.h.in: Regenerate.
* configure: Regenerate.
* include/experimental/internet (address_v4::_S_hton): Rename
overloaded functions to _S_hton_16 and _S_ntoh_16.
(address_v4::_S_ntoh): Rename to _S_ntoh_16 and _S_ntoh_32.
(basic_endpoint): Adjust calls to _S_hton and _S_ntoh.
* include/experimental/socket (basic_socket::at_mark): Check
_GLIBCXX_HAVE_SOCKATMARK.
From-SVN: r269588
Diffstat (limited to 'libstdc++-v3/config.h.in')
-rw-r--r-- | libstdc++-v3/config.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libstdc++-v3/config.h.in b/libstdc++-v3/config.h.in index 034d91b..3a6f180 100644 --- a/libstdc++-v3/config.h.in +++ b/libstdc++-v3/config.h.in @@ -390,6 +390,9 @@ /* Defined if sleep exists. */ #undef HAVE_SLEEP +/* Define to 1 if you have the `sockatmark' function. */ +#undef HAVE_SOCKATMARK + /* Define to 1 if you have the `sqrtf' function. */ #undef HAVE_SQRTF |