diff options
author | Max Kellermann <max@duempel.org> | 2015-07-21 12:08:25 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-07-21 12:08:25 +0200 |
commit | 104fe124dfefac9b41d692924e6774209d081f9a (patch) | |
tree | b8ae025300293860e96533138b332362574d07f4 /src/net/StaticSocketAddress.cxx | |
parent | 5bdbd74d591e87e327835faf71741eacab3ce00f (diff) | |
download | mpd-104fe124dfefac9b41d692924e6774209d081f9a.tar.gz mpd-104fe124dfefac9b41d692924e6774209d081f9a.tar.xz mpd-104fe124dfefac9b41d692924e6774209d081f9a.zip |
net/StaticSocketAddress: disable SetLocal() on Android
Fixes build failure because Bionic doesn't provide SUN_LEN().
Diffstat (limited to 'src/net/StaticSocketAddress.cxx')
-rw-r--r-- | src/net/StaticSocketAddress.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/StaticSocketAddress.cxx b/src/net/StaticSocketAddress.cxx index b9bd01aeb..20dd175c6 100644 --- a/src/net/StaticSocketAddress.cxx +++ b/src/net/StaticSocketAddress.cxx @@ -57,7 +57,7 @@ StaticSocketAddress::operator==(const StaticSocketAddress &other) const memcmp(&address, &other.address, size) == 0; } -#ifdef HAVE_UN +#if defined(HAVE_UN) && !defined(__BIONIC__) void StaticSocketAddress::SetLocal(const char *path) |