]> code.delx.au - gnu-emacs/blob - src/s/isc4-0.h
(sigblock, SIG_BLOCK): Don't define them if POSIX_SIGNALS.
[gnu-emacs] / src / s / isc4-0.h
1 #include "isc3-0.h"
2
3 #undef LIBS_SYSTEM
4 #ifdef HAVE_X_WINDOWS
5 #define LIBS_SYSTEM -linet -lcposix
6 #else
7 #define LIBS_SYSTEM -lcposix
8 #endif
9
10 #define ISC4_0
11
12 /* fmcphers@csugrad.cs.vt.edu reported this was necessary.
13 He used GCC. I don't know what is needed with other compilers. */
14 #ifdef __GNUC__
15 #undef LIBX11_SYSTEM
16 #define LIBX11_SYSTEM -lpt -lnls -lnsl_s -lcposix -lc
17 #endif
18
19 /* Tobias Herbert <herbert@clipper.ikp.physik.th-darmstadt.de>
20 says this is needed. */
21
22 #ifndef POSIX_SIGNALS
23 #ifndef sigblock
24 #ifndef SIG_BLOCK
25 #define SIG_BLOCK 0
26 #endif
27 #define sigblock(sig) (sigprocmask (SIG_BLOCK, SIGEMPTYMASK | sig, NULL))
28 #endif
29 #endif /* not POSIX_SIGNALS */