Skip to content
Permalink
Browse files
put is_path_to_xsocket behind #ifdef __APPLE__
  • Loading branch information
jschlyter committed Dec 19, 2016
1 parent deafb71 commit 3100451
Showing 1 changed file with 2 additions and 0 deletions.
@@ -4354,6 +4354,7 @@ connect_local_xsocket(u_int dnr)
return connect_local_xsocket_path(buf);
}

#ifdef __APPLE__
static int
is_path_to_xsocket(const char *display, char *path, size_t pathlen)
{
@@ -4377,6 +4378,7 @@ is_path_to_xsocket(const char *display, char *path, size_t pathlen)

return 0;
}
#endif

int
x11_connect_display(void)

0 comments on commit 3100451

Please sign in to comment.