USE_SIGPROCMASK is defined and not POSIX_SIGNALS.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12605
dc483132-0cff-0310-8789-
dd5450dbe970
+2000-08-07 Ezra Peisach <epeisach@mit.edu>
+
+ * ss_internal.h: Only use fake sigmask, sigblock and sigsetmask if
+ USE_SIGPROCMASK is defined and not POSIX_SIGNALS.
+
2000-08-03 Ken Raeburn <raeburn@mit.edu>
* listen.c (ss_quit): Now returns void. Fix type of argument ARGV
extern pointer calloc PROTOTYPE((unsigned, unsigned));
#endif
-#ifdef USE_SIGPROCMASK
+#if defined(USE_SIGPROCMASK) && !defined(POSIX_SIGNALS)
/* fake sigmask, sigblock, sigsetmask */
#include <signal.h>
+#ifdef sigmask
+#undef sigmask
+#endif
#define sigmask(x) (1L<<(x)-1)
#define sigsetmask(x) sigprocmask(SIG_SETMASK,&x,NULL)
static int _fake_sigstore;