diff options
| author | Richard M. Stallman | 1995-08-02 18:39:47 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-08-02 18:39:47 +0000 |
| commit | 3be64b69f20b2ca47689d62c970b60aa520d2f49 (patch) | |
| tree | bc51c3edf8499b5b54510bd015a03e46a5571a4d /src/s | |
| parent | c15ce829384cfc8bec3d9473b93738afd0e2d1d9 (diff) | |
| download | emacs-3be64b69f20b2ca47689d62c970b60aa520d2f49.tar.gz emacs-3be64b69f20b2ca47689d62c970b60aa520d2f49.zip | |
(sigblock, SIG_BLOCK): Don't define them if POSIX_SIGNALS.
Diffstat (limited to 'src/s')
| -rw-r--r-- | src/s/isc4-0.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/s/isc4-0.h b/src/s/isc4-0.h index a52e0d821ef..379772abbef 100644 --- a/src/s/isc4-0.h +++ b/src/s/isc4-0.h | |||
| @@ -19,9 +19,11 @@ | |||
| 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 */ | ||