add a no-op default value for _UC_UCONTEXT_ALIGN if MD code doesn't set it.
This commit is contained in:
parent
94a458cedd
commit
38cf5bc322
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ucontext.h,v 1.4 2003/10/13 18:50:43 fvdl Exp $ */
|
||||
/* $NetBSD: ucontext.h,v 1.5 2004/07/18 21:26:00 chs Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1999, 2003 The NetBSD Foundation, Inc.
|
||||
|
@ -59,6 +59,10 @@ struct __ucontext {
|
|||
#endif
|
||||
};
|
||||
|
||||
#ifndef _UC_UCONTEXT_ALIGN
|
||||
#define _UC_UCONTEXT_ALIGN (~0)
|
||||
#endif
|
||||
|
||||
#if defined(COMPAT_NETBSD32) && defined(_KERNEL)
|
||||
|
||||
typedef struct __ucontext32 ucontext32_t;
|
||||
|
|
Loading…
Reference in New Issue