(sigblock, SIG_BLOCK): Don't define them if POSIX_SIGNALS.

This commit is contained in:
Richard M. Stallman 1995-08-02 18:39:47 +00:00
parent c15ce82938
commit 3be64b69f2

View file

@ -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 */