GUI RPC: Fix Unix domain stuff for Mac OS X

This commit is contained in:
Charlie Fenton 2014-01-31 16:14:53 -08:00
parent c326c41cb3
commit d4aafeb91f
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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;