Mercurial > emacs
comparison src/s/isc4-0.h @ 12754:8ba3a8c5dc43
(sigblock, SIG_BLOCK): Don't define them if POSIX_SIGNALS.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 02 Aug 1995 18:39:47 +0000 |
parents | 6c1db50b798d |
children | 4e472b8b55c5 |
comparison
equal
deleted
inserted
replaced
12753:8b24e2806602 | 12754:8ba3a8c5dc43 |
---|---|
17 #endif | 17 #endif |
18 | 18 |
19 /* Tobias Herbert <herbert@clipper.ikp.physik.th-darmstadt.de> | 19 /* Tobias Herbert <herbert@clipper.ikp.physik.th-darmstadt.de> |
20 says this is needed. */ | 20 says this is needed. */ |
21 | 21 |
22 #ifndef POSIX_SIGNALS | |
22 #ifndef sigblock | 23 #ifndef sigblock |
23 #ifndef SIG_BLOCK | 24 #ifndef SIG_BLOCK |
24 #define SIG_BLOCK 0 | 25 #define SIG_BLOCK 0 |
25 #endif | 26 #endif |
26 #define sigblock(sig) (sigprocmask (SIG_BLOCK, SIGEMPTYMASK | sig, NULL)) | 27 #define sigblock(sig) (sigprocmask (SIG_BLOCK, SIGEMPTYMASK | sig, NULL)) |
27 #endif | 28 #endif |
29 #endif /* not POSIX_SIGNALS */ |