From be16bf871e21bf4cd7fe495251fbd0869b5df4fb Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Tue, 17 Aug 2004 21:59:07 +0000 Subject: [PATCH] (process_send_signal): Fix last change--use _POSIX_VDISABLE instead of CVDISABLE when available. --- src/process.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/process.c b/src/process.c index 3c8aca9560e..09f55b569dd 100644 --- a/src/process.c +++ b/src/process.c @@ -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 */