mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-18 19:07:34 +00:00
(sigblock, SIG_BLOCK): Don't define them if POSIX_SIGNALS.
This commit is contained in:
parent
c15ce82938
commit
3be64b69f2
1 changed files with 2 additions and 0 deletions
|
|
@ -19,9 +19,11 @@
|
|||
/* Tobias Herbert <herbert@clipper.ikp.physik.th-darmstadt.de>
|
||||
says this is needed. */
|
||||
|
||||
#ifndef POSIX_SIGNALS
|
||||
#ifndef sigblock
|
||||
#ifndef SIG_BLOCK
|
||||
#define SIG_BLOCK 0
|
||||
#endif
|
||||
#define sigblock(sig) (sigprocmask (SIG_BLOCK, SIGEMPTYMASK | sig, NULL))
|
||||
#endif
|
||||
#endif /* not POSIX_SIGNALS */
|
||||
|
|
|
|||
Loading…
Reference in a new issue