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.hxx | |
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 '')
-rw-r--r-- | src/net/StaticSocketAddress.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/StaticSocketAddress.hxx b/src/net/StaticSocketAddress.hxx index 4cf294c1e..72180f0bc 100644 --- a/src/net/StaticSocketAddress.hxx +++ b/src/net/StaticSocketAddress.hxx @@ -64,7 +64,7 @@ public: size); } -#ifdef HAVE_UN +#if defined(HAVE_UN) && !defined(__BIONIC__) /** * Make this a "local" address (UNIX domain socket). */ |