summaryrefslogtreecommitdiff
path: root/libcutils/socket_local_server.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-11-22 07:48:16 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-11-22 07:48:16 +0000
commiteda16b98dce3ef4c75b7b46c6acdab2b6970f54a (patch)
treeac5c472667de701158d5444c9f7b447cea9389a1 /libcutils/socket_local_server.c
parent6fe92d1a3fb17545d82d020a3c995f32e6b71f9d (diff)
parent9768d24fa096e312e472a43e13cf2867c1bf581d (diff)
Merge "Kill LOCAL_SOCKET_NAMESPACE."
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