remove GCC5 hacks

GCC5 cannot build mpd.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2020-09-16 18:09:03 -07:00
parent e8380cf2aa
commit 821d08999a
2 changed files with 2 additions and 4 deletions

View File

@@ -178,7 +178,7 @@ public:
/**
* Is this an IPv4 address mapped inside struct sockaddr_in6?
*/
#if defined(__linux__) && !GCC_OLDER_THAN(5,0)
#if defined(__linux__)
constexpr
#endif
bool IsV4Mapped() const noexcept {