From 9f910b506e60b16c5ad8ba606f1004a7bac18f2a Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 7 Jul 1997 19:05:34 +0000 Subject: [PATCH] [sigmask] (SIGEMPTYMASK): Define to use sigmask. --- src/syssignal.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/syssignal.h b/src/syssignal.h index 2645d9a82c9..23a15c6c1d2 100644 --- a/src/syssignal.h +++ b/src/syssignal.h @@ -51,7 +51,14 @@ extern sigset_t sys_sigmask (); #ifndef sigpause #define sigpause(SIG) sys_sigpause (SIG) +#else +/* If sigpause is predefined, with POSIX_SIGNALS, + let's assume it needs this kind of argument. + This is true for Glibc 2.1. */ +#undef SIGEMPTYMASK +#define SIGEMPTYMASK sigmask (0) #endif + #define sigblock(SIG) sys_sigblock (SIG) #define sigunblock(SIG) sys_sigunblock (SIG) #ifndef sigsetmask -- 2.39.2