summaryrefslogtreecommitdiff
path: root/src/syssignal.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-02-04 20:13:47 +0000
committerRichard M. Stallman <rms@gnu.org>1996-02-04 20:13:47 +0000
commitcc210d67649f027421f03c60f7e2035d103edcb3 (patch)
treeb42eecbc29f0728f86b5e66b2548d32ac257b19b /src/syssignal.h
parent52a9879befc88866f2062ea5647246d9b7412477 (diff)
downloademacs-cc210d67649f027421f03c60f7e2035d103edcb3.tar.gz
[POSIX_SIGNALS] (sigsetmask): Don't define if already defined.
Diffstat (limited to 'src/syssignal.h')
-rw-r--r--src/syssignal.h2
1 files changed, 2 insertions, 0 deletions
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