view 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
line wrap: on
line source

#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 POSIX_SIGNALS
#ifndef sigblock
#ifndef SIG_BLOCK
#define SIG_BLOCK 0
#endif
#define sigblock(sig) (sigprocmask (SIG_BLOCK, SIGEMPTYMASK | sig, NULL))
#endif
#endif /* not POSIX_SIGNALS */