Module Name: src Committed By: martin Date: Sun Jun 30 08:49:21 UTC 2019
Modified Files: src/sys/compat/sys: siginfo.h Log Message: Provide the compat structures even if not building 64bit kernels, as we have same-bitness netbsd32 emulations for different ABIs on some architectures. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/compat/sys/siginfo.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/compat/sys/siginfo.h diff -u src/sys/compat/sys/siginfo.h:1.6 src/sys/compat/sys/siginfo.h:1.7 --- src/sys/compat/sys/siginfo.h:1.6 Thu Jun 27 01:58:49 2019 +++ src/sys/compat/sys/siginfo.h Sun Jun 30 08:49:21 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: siginfo.h,v 1.6 2019/06/27 01:58:49 christos Exp $ */ +/* $NetBSD: siginfo.h,v 1.7 2019/06/30 08:49:21 martin Exp $ */ /*- * Copyright (c) 2002 The NetBSD Foundation, Inc. @@ -32,7 +32,7 @@ #ifndef _COMPAT_SYS_SIGINFO_H_ #define _COMPAT_SYS_SIGINFO_H_ -#if defined(_LP64) && defined(_KERNEL) +#ifdef _KERNEL typedef union sigval32 { int sival_int; @@ -83,6 +83,6 @@ typedef union siginfo32 { struct __ksiginfo32 _info; } siginfo32_t; -#endif /* _LP64 && _KERNEL */ +#endif /* _KERNEL */ #endif /* !_COMPAT_SYS_SIGINFO_H_ */