Define SIGTRAMP_VALID.

This commit is contained in:
pk 2003-10-11 22:15:18 +00:00
parent 2514d9e4f2
commit 44510064ca
1 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: signal.h,v 1.13 2003/10/05 21:13:23 pk Exp $ */
/* $NetBSD: signal.h,v 1.14 2003/10/11 22:15:18 pk Exp $ */
/*
* Copyright (c) 1992, 1993
@ -99,6 +99,12 @@ struct sigcontext {
sigset_t sc_mask; /* signal mask to restore (new style) */
};
#ifdef COMPAT_16
#define SIGTRAMP_VALID(vers) ((vers) <= 2)
#else
#define SIGTRAMP_VALID(vers) ((vers) == 2)
#endif
#ifdef __arch64__
#define _MCONTEXT_TO_SIGCONTEXT_32_64(uc, sc) \
do { \