From 4ddf4e303d447759df94e5b37f57e1bf70f69fdd Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 30 Dec 2001 22:40:16 +0000 Subject: [PATCH] (sigprocmask_set): Conditionalize decl on ! NOT_C_CODE. (sigprocmask_set): Declare as extern SIGMASKTYPE. (SIGMASKTYPE): Define. --- src/s/sco5.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/s/sco5.h b/src/s/sco5.h index 418efaf75ab..5eea7955ee5 100644 --- a/src/s/sco5.h +++ b/src/s/sco5.h @@ -132,6 +132,13 @@ Boston, MA 02111-1307, USA. */ /* SCO Unix has Posix signals, but in 3.2.5 something broken that causes * all keyboard-quit signals to be lost after the first one. */ #undef POSIX_SIGNALS + +#define SIGMASKTYPE long + +#ifndef NOT_C_CODE +extern SIGMASKTYPE sigprocmask_set; +#endif /* not NOT_C_CODE */ + #define sigblock(sig) \ (sigprocmask_set = SIGEMPTYMASK | (sig), \ sigprocmask (SIG_BLOCK, &sigprocmask_set, NULL)) -- 2.39.5