summaryrefslogtreecommitdiffstats
path: root/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'session.c')
-rw-r--r--session.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/session.c b/session.c
index 325b1753..69d925ef 100644
--- a/session.c
+++ b/session.c
@@ -1696,7 +1696,6 @@ session_break_req(Session *s)
break_length = packet_get_int();
packet_check_eom();
-#if defined(TIOCSBRK) && defined(TIOCCBRK)
if (s->ttyfd == -1)
return 0;
/* we will sleep from 500ms to 3000ms */
@@ -1707,9 +1706,6 @@ session_break_req(Session *s)
usleep(break_length * 1000);
ioctl(s->ttyfd, TIOCCBRK, NULL);
return 1;
-#else
- return 0;
-#endif
}
static int