mcst-linux-kernel/patches-2024.06.26/mpd-0.21.5/0001-bug132271.patch

16 lines
463 B
Diff

--- a/src/net/IPv6Address.hxx 2019-02-22 17:23:33.000000000 +0300
+++ b/src/net/IPv6Address.hxx 2021-04-19 17:34:17.921105094 +0300
@@ -176,9 +176,9 @@
/**
* Is this an IPv4 address mapped inside struct sockaddr_in6?
*/
-#if defined(__linux__) && !GCC_OLDER_THAN(5,0)
- constexpr
-#endif
+//#if defined(__linux__) && !GCC_OLDER_THAN(5,0)
+// constexpr
+//#endif
bool IsV4Mapped() const noexcept {
return IN6_IS_ADDR_V4MAPPED(&address.sin6_addr);
}