From: Richard M. Stallman Date: Mon, 7 Jul 1997 19:05:34 +0000 (+0000) Subject: [sigmask] (SIGEMPTYMASK): Define to use sigmask. X-Git-Tag: emacs-20.1~1278 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9f910b506e60b16c5ad8ba606f1004a7bac18f2a;p=emacs.git [sigmask] (SIGEMPTYMASK): Define to use sigmask. --- 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