Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a6241a02 authored by Elliott Hughes's avatar Elliott Hughes Committed by Gerrit Code Review
Browse files

Merge "Replace HAVE_WIN32_IPC with _WIN32."

parents b6deb331 095307ec
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);