From 095307ec4950f06539f460ad621e0e1d3b246e19 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Thu, 9 Jul 2015 10:03:18 -0700 Subject: [PATCH] Replace HAVE_WIN32_IPC with _WIN32. Change-Id: Ie9dc064fb23a4e4bd4856c9668784dec0be9d2d6 --- adb/adb_listeners.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adb/adb_listeners.cpp b/adb/adb_listeners.cpp index a335eeced..641b5379d 100644 --- a/adb/adb_listeners.cpp +++ b/adb/adb_listeners.cpp @@ -118,7 +118,7 @@ static int local_name_to_fd(const char* name) { return socket_loopback_server(port, SOCK_STREAM); } } -#ifndef HAVE_WIN32_IPC /* no Unix-domain sockets on Win32 */ +#if !defined(_WIN32) // No Unix-domain sockets on Windows. // It's nonsensical to support the "reserved" space on the adb host side if (!strncmp(name, "local:", 6)) { return socket_local_server(name + 6, ANDROID_SOCKET_NAMESPACE_ABSTRACT, SOCK_STREAM);