mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-28 10:56:36 +00:00
(process_send_signal): Fix last change--use
_POSIX_VDISABLE instead of CVDISABLE when available.
This commit is contained in:
parent
ee1fcbddee
commit
be16bf871e
@ -5572,7 +5572,15 @@ process_send_signal (process, signo, current_group, nomsg)
|
||||
break;
|
||||
}
|
||||
|
||||
if (sig_char && *sig_char != CVDISABLE)
|
||||
#ifndef _POSIX_VDISABLE
|
||||
#ifdef CVDISABLE
|
||||
#define _POSIX_VDISABLE CVDISABLE
|
||||
#else
|
||||
#define _POSIX_VDISABLE '\0'
|
||||
#endif
|
||||
#endif
|
||||
|
||||
if (sig_char && *sig_char != _POSIX_VDISABLE)
|
||||
send_process (proc, sig_char, 1, Qnil);
|
||||
return;
|
||||
#else /* ! HAVE_TERMIOS */
|
||||
|
Loading…
Reference in New Issue
Block a user