diff options
author | Svante Signell <svante.signell@telia.com> | 2011-04-08 14:44:36 -0400 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2011-04-08 14:44:36 -0400 |
commit | 0080dc6bd919f83c036bb6072800032b1723b248 (patch) | |
tree | 0b4355a65964fccac9344db4d1e1da758d458496 /src/term.c | |
parent | 7afdcb4571269bd1175fe8f5d3aac928ce942ec0 (diff) |
* term.c (init_tty): Fix incorrect ifdef placement (Bug#8450).
Diffstat (limited to 'src/term.c')
-rw-r--r-- | src/term.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/term.c b/src/term.c index 6d16a65674..44e127e715 100644 --- a/src/term.c +++ b/src/term.c @@ -3413,13 +3413,12 @@ init_tty (char *name, char *terminal_type, int must_succeed) if we don't have one at the moment. */ fd = emacs_open (name, O_RDWR | O_IGNORE_CTTY | O_NOCTTY, 0); else -#else +#endif /* O_IGNORE_CTTY */ /* Alas, O_IGNORE_CTTY is a GNU extension that seems to be only defined on Hurd. On other systems, we need to explicitly dissociate ourselves from the controlling tty when we want to open a frame on the same terminal. */ fd = emacs_open (name, O_RDWR | O_NOCTTY, 0); -#endif /* O_IGNORE_CTTY */ tty->name = xstrdup (name); terminal->name = xstrdup (name); |