+Fri Jul 1 16:01:02 1994 Mark Eichin (eichin@cygnus.com)
+
+ * adm_listen.c: if USE_SIGPROCMASK, replace sigblock et al.
+ configure.in: CHECK_SIGPROCMASK.
+
Wed Jun 29 00:25:29 1994 Tom Yu (tlyu at dragons-lair)
* adm_server.c: fixed error table calls to use krb5_init_ets
#include <signal.h>
#include <com_err.h>
+#ifdef USE_SIGPROCMASK
+/* fake sigmask, sigblock, sigsetmask */
+#include <signal.h>
+#define sigmask(x) (1L<<(x)-1)
+#define sigsetmask(x) sigprocmask(SIG_SETMASK,&x,NULL)
+static int _fake_sigstore;
+#define sigblock(x) (_fake_sigstore=x,sigprocmask(SIG_BLOCK,&_fake_sigstore,0))
+#endif
+
#ifndef sigmask
#define sigmask(m) (1 <<((m)-1))
#endif