summaryrefslogtreecommitdiff
path: root/src/s/isc4-0.h
blob: a52e0d821ef61c305a536b700de0f11ece6bd969 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#include "isc3-0.h"

#undef LIBS_SYSTEM
#ifdef HAVE_X_WINDOWS
#define LIBS_SYSTEM -linet -lcposix
#else
#define LIBS_SYSTEM -lcposix
#endif

#define ISC4_0

/* fmcphers@csugrad.cs.vt.edu reported this was necessary.
   He used GCC.  I don't know what is needed with other compilers.  */
#ifdef __GNUC__
#undef LIBX11_SYSTEM
#define LIBX11_SYSTEM -lpt -lnls -lnsl_s -lcposix -lc
#endif

/* Tobias Herbert <herbert@clipper.ikp.physik.th-darmstadt.de>
   says this is needed.  */

#ifndef sigblock
#ifndef SIG_BLOCK
#define SIG_BLOCK 0
#endif
#define sigblock(sig) (sigprocmask (SIG_BLOCK, SIGEMPTYMASK | sig, NULL))
#endif