aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1994-10-16 01:33:27 +0000
committerRichard M. Stallman1994-10-16 01:33:27 +0000
commit35a474bb857b4858750c8d62023a891f774d2b90 (patch)
treead493047abe6cd22f3f8f89da617aa6f8f75ff58 /src
parent8e533ff0a92e0273646c46167e3671dfac148ec0 (diff)
downloademacs-35a474bb857b4858750c8d62023a891f774d2b90.tar.gz
emacs-35a474bb857b4858750c8d62023a891f774d2b90.zip
(LIBS_SYSTEM): Add -lcposix.
(sigblock, SIG_BLOCK): Define if not defined.
Diffstat (limited to 'src')
-rw-r--r--src/s/isc4-0.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/s/isc4-0.h b/src/s/isc4-0.h
index 77c52d1fc98..a52e0d821ef 100644
--- a/src/s/isc4-0.h
+++ b/src/s/isc4-0.h
@@ -1,6 +1,11 @@
1#include "isc3-0.h" 1#include "isc3-0.h"
2 2
3#define LIBS_SYSTEM -linet 3#undef LIBS_SYSTEM
4#ifdef HAVE_X_WINDOWS
5#define LIBS_SYSTEM -linet -lcposix
6#else
7#define LIBS_SYSTEM -lcposix
8#endif
4 9
5#define ISC4_0 10#define ISC4_0
6 11
@@ -10,3 +15,13 @@
10#undef LIBX11_SYSTEM 15#undef LIBX11_SYSTEM
11#define LIBX11_SYSTEM -lpt -lnls -lnsl_s -lcposix -lc 16#define LIBX11_SYSTEM -lpt -lnls -lnsl_s -lcposix -lc
12#endif 17#endif
18
19/* Tobias Herbert <herbert@clipper.ikp.physik.th-darmstadt.de>
20 says this is needed. */
21
22#ifndef sigblock
23#ifndef SIG_BLOCK
24#define SIG_BLOCK 0
25#endif
26#define sigblock(sig) (sigprocmask (SIG_BLOCK, SIGEMPTYMASK | sig, NULL))
27#endif