mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
slave: skip e310487dae if not supported
slave.c:188:26: error: use of undeclared identifier 'IUTF8'
flags.c_iflag |= IUTF8;
^
This commit is contained in:
parent
c531c6bc0e
commit
67e713ff3a
1 changed files with 2 additions and 0 deletions
2
slave.c
2
slave.c
|
|
@ -178,6 +178,7 @@ slave_exec(int ptmx, char *argv[], int err_fd, bool login_shell,
|
|||
goto err;
|
||||
}
|
||||
|
||||
#ifdef IUTF8
|
||||
{
|
||||
struct termios flags;
|
||||
if (tcgetattr(pts, &flags) < 0) {
|
||||
|
|
@ -191,6 +192,7 @@ slave_exec(int ptmx, char *argv[], int err_fd, bool login_shell,
|
|||
goto err;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
if (tll_length(*notifications) > 0) {
|
||||
int flags = fcntl(pts, F_GETFL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue