mirror of https://github.com/BOINC/boinc.git
GUI RPC: Fix Unix domain stuff for Mac OS X
This commit is contained in:
parent
c326c41cb3
commit
d4aafeb91f
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue