mirror of
https://github.com/tmux/tmux.git
synced 2024-11-10 13:48:48 +00:00
Add back __CYGWIN__ block
This went missing during the merge from OpenBSD.
This commit is contained in:
parent
c11f628342
commit
4165ed96f8
@ -1187,6 +1187,11 @@ server_client_msg_identify(struct client *c, struct imsg *imsg)
|
||||
return;
|
||||
c->flags |= CLIENT_IDENTIFIED;
|
||||
|
||||
#ifdef __CYGWIN__
|
||||
c->fd = open(c->ttyname, O_RDWR|O_NOCTTY);
|
||||
c->cwd = open(".", O_RDONLY);
|
||||
#endif
|
||||
|
||||
if (c->flags & CLIENT_CONTROL) {
|
||||
c->stdin_callback = control_callback;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user