From d4aafeb91fecafeea944eb76a997a3cdecde76ff Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Fri, 31 Jan 2014 16:14:53 -0800 Subject: [PATCH] GUI RPC: Fix Unix domain stuff for Mac OS X --- client/gui_rpc_server.cpp | 2 +- lib/gui_rpc_client.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/gui_rpc_server.cpp b/client/gui_rpc_server.cpp index 936734d0e3..1f40aa847d 100644 --- a/client/gui_rpc_server.cpp +++ b/client/gui_rpc_server.cpp @@ -223,7 +223,7 @@ int GUI_RPC_CONN_SET::insert(GUI_RPC_CONN* p) { } int GUI_RPC_CONN_SET::init_unix_domain() { -#if !defined(_WIN32) && !defined(__APPLE__) +#if !defined(_WIN32) struct sockaddr_un addr; get_password(); int retval = boinc_socket(lsock, AF_UNIX); diff --git a/lib/gui_rpc_client.cpp b/lib/gui_rpc_client.cpp index 2ef97651ce..2c684cbc37 100644 --- a/lib/gui_rpc_client.cpp +++ b/lib/gui_rpc_client.cpp @@ -237,8 +237,8 @@ int RPC_CLIENT::init_poll() { } int RPC_CLIENT::init_unix_domain() { -#if defined(_WIN32) || defined(__APPLE__) - fprintf(stderr, "Unix domain not implemented in Windows or Mac\n"); +#if defined(_WIN32) + fprintf(stderr, "Unix domain not implemented in Windows\n"); return -1; #else struct sockaddr_un addr_un;