summaryrefslogtreecommitdiff
path: root/libcutils/socket_local_server.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-11-21 22:50:20 -0800
committerElliott Hughes <enh@google.com>2014-11-21 22:50:20 -0800
commit9768d24fa096e312e472a43e13cf2867c1bf581d (patch)
treeac5c472667de701158d5444c9f7b447cea9389a1 /libcutils/socket_local_server.c
parent6fe92d1a3fb17545d82d020a3c995f32e6b71f9d (diff)
Kill LOCAL_SOCKET_NAMESPACE.
Change-Id: I18928f89f66c37be310c45ff4c05a6d47ab84f66
Diffstat (limited to 'libcutils/socket_local_server.c')
-rw-r--r--libcutils/socket_local_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcutils/socket_local_server.c b/libcutils/socket_local_server.c
index 7628fe459..60eb86b83 100644
--- a/libcutils/socket_local_server.c
+++ b/libcutils/socket_local_server.c
@@ -66,7 +66,7 @@ int socket_local_server_bind(int s, const char *name, int namespaceId)
}
/* basically: if this is a filesystem path, unlink first */
-#ifndef HAVE_LINUX_LOCAL_SOCKET_NAMESPACE
+#if !defined(__linux__)
if (1) {
#else
if (namespaceId == ANDROID_SOCKET_NAMESPACE_RESERVED