changeset 56700:33e68be5c251

(process_send_signal): Fix last change--use _POSIX_VDISABLE instead of CVDISABLE when available.
author Kim F. Storm <storm@cua.dk>
date Tue, 17 Aug 2004 21:59:07 +0000
parents 42416fc77436
children e327231e4361
files src/process.c
diffstat 1 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.c	Tue Aug 17 09:58:06 2004 +0000
+++ b/src/process.c	Tue Aug 17 21:59:07 2004 +0000
@@ -5572,7 +5572,15 @@
 	  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 */