Fix broken build on Solaris 10 emacs_spawn
* src/callproc.c (emacs_spawn) [SETUP_SLAVE_TTY]: pty_flag no longer exists. Use pty_in && std_in >= 0, which at least compiles.
This commit is contained in:
parent
9a3f64f406
commit
7406ae4c98
1 changed files with 1 additions and 1 deletions
|
@ -1574,7 +1574,7 @@ emacs_spawn (pid_t *newpid, int std_in, int std_out, int std_err,
|
|||
#endif /* not DONT_REOPEN_PTY */
|
||||
|
||||
#ifdef SETUP_SLAVE_PTY
|
||||
if (pty_flag)
|
||||
if (pty_in && std_in >= 0)
|
||||
{
|
||||
SETUP_SLAVE_PTY;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue