From cc210d67649f027421f03c60f7e2035d103edcb3 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 4 Feb 1996 20:13:47 +0000 Subject: [PATCH] [POSIX_SIGNALS] (sigsetmask): Don't define if already defined. --- src/syssignal.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/syssignal.h b/src/syssignal.h index 0bac2acebc7..7cf7261cc06 100644 --- a/src/syssignal.h +++ b/src/syssignal.h @@ -52,7 +52,9 @@ extern sigset_t sys_sigmask (); #define sigpause(SIG) sys_sigpause (SIG) #define sigblock(SIG) sys_sigblock (SIG) #define sigunblock(SIG) sys_sigunblock (SIG) +#ifndef sigsetmask #define sigsetmask(SIG) sys_sigsetmask (SIG) +#endif #define sighold(SIG) ONLY_USED_IN_BSD_4_1 #define sigrelse(SIG) ONLY_USED_IN_BSD_4_1 #undef signal -- 2.39.2