Module Name: src
Committed By: thorpej
Date: Wed Oct 27 02:00:46 UTC 2021
Modified Files:
src/sys/arch/mips/include: signal.h
Log Message:
Define __HAVE_STRUCT_SIGCONTEXT for _KERNEL in addition to _LIBC.
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/mips/include/signal.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/arch/mips/include/signal.h
diff -u src/sys/arch/mips/include/signal.h:1.31 src/sys/arch/mips/include/signal.h:1.32
--- src/sys/arch/mips/include/signal.h:1.31 Tue Oct 26 16:16:35 2021
+++ src/sys/arch/mips/include/signal.h Wed Oct 27 02:00:46 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: signal.h,v 1.31 2021/10/26 16:16:35 christos Exp $ */
+/* $NetBSD: signal.h,v 1.32 2021/10/27 02:00:46 thorpej Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -79,6 +79,7 @@ struct sigcontext13 {
#endif /* _KERNEL && COMPAT_13 */
#if defined(_LIBC) || (defined(_KERNEL) && (defined(COMPAT_16) || defined(COMPAT_ULTRIX)))
+#define __HAVE_STRUCT_SIGCONTEXT
/*
* Only need an O32 version.
*/
@@ -106,7 +107,6 @@ struct sigcontext { \
_SIGCONTEXT_DEFINE(sigcontext, int, int);
#endif
#ifdef _LIBC
-#define __HAVE_STRUCT_SIGCONTEXT
_SIGCONTEXT_DEFINE(sigcontext, __register_t, __fpregister_t);
#endif