1
0
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:
Kim F. Storm 2004-08-17 21:59:07 +00:00
parent ee1fcbddee
commit be16bf871e

View File

@ -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 */