Cygwin: Allow to build without experimental AF_UNIX code by default

Introduce __WITH_AF_UNIX preprocessor flag to enable the new code

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen
2018-06-26 16:31:17 +02:00
parent 17918cc6a6
commit 6c55be9dbb
8 changed files with 36 additions and 1 deletions

View File

@@ -1602,6 +1602,8 @@ fhandler_socket_wsock::select_except (select_stuff *ss)
return s;
}
#ifdef __WITH_AF_UNIX
select_record *
fhandler_socket_unix::select_read (select_stuff *ss)
{
@@ -1647,6 +1649,8 @@ fhandler_socket_unix::select_except (select_stuff *ss)
return s;
}
#endif /* __WITH_AF_UNIX */
static int
peek_windows (select_record *me, bool)
{