Module Name: src
Committed By: matt
Date: Wed Aug 19 07:02:31 UTC 2009
Modified Files:
src/include [matt-nb5-mips64]: setjmp.h
Log Message:
Add a _BSD_JBSLOT_T_ which can be defined in <machine/setjmp.h> if you need
a wider type than "long".
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.24.20.1 src/include/setjmp.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/include/setjmp.h
diff -u src/include/setjmp.h:1.24 src/include/setjmp.h:1.24.20.1
--- src/include/setjmp.h:1.24 Mon Dec 24 17:26:09 2007
+++ src/include/setjmp.h Wed Aug 19 07:02:31 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: setjmp.h,v 1.24 2007/12/24 17:26:09 perry Exp $ */
+/* $NetBSD: setjmp.h,v 1.24.20.1 2009/08/19 07:02:31 matt Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -47,13 +47,16 @@
#define _JB_ATTRIBUTES /**/
#else
#endif
+#ifndef _BSD_JBSLOT_T_
+#define _BSD_JBSLOT_T_ long
+#endif
#if defined(_POSIX_C_SOURCE) || defined(_XOPEN_SOURCE) || \
defined(_NETBSD_SOURCE)
-typedef long sigjmp_buf[_JBLEN + 1] _JB_ATTRIBUTES;
+typedef _BSD_JBSLOT_T_ sigjmp_buf[_JBLEN + 1] _JB_ATTRIBUTES;
#endif /* not ANSI */
-typedef long jmp_buf[_JBLEN] _JB_ATTRIBUTES;
+typedef _BSD_JBSLOT_T_ jmp_buf[_JBLEN] _JB_ATTRIBUTES;
#include <sys/cdefs.h>