From 104fe124dfefac9b41d692924e6774209d081f9a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 21 Jul 2015 12:08:25 +0200 Subject: net/StaticSocketAddress: disable SetLocal() on Android Fixes build failure because Bionic doesn't provide SUN_LEN(). --- src/net/StaticSocketAddress.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/StaticSocketAddress.hxx') 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). */ -- cgit v1.2.3