aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/StaticSocketAddress.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-07-21 12:08:25 +0200
committerMax Kellermann <max@duempel.org>2015-07-21 12:08:25 +0200
commit104fe124dfefac9b41d692924e6774209d081f9a (patch)
treeb8ae025300293860e96533138b332362574d07f4 /src/net/StaticSocketAddress.hxx
parent5bdbd74d591e87e327835faf71741eacab3ce00f (diff)
downloadmpd-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.hxx')
-rw-r--r--src/net/StaticSocketAddress.hxx2
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).
*/