add a no-op default value for _UC_UCONTEXT_ALIGN if MD code doesn't set it.

This commit is contained in:
chs 2004-07-18 21:26:00 +00:00
parent 94a458cedd
commit 38cf5bc322
1 changed files with 5 additions and 1 deletions

View File

@ -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;