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;