summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2000-10-06 11:53:32 +0000
committerbde <bde@FreeBSD.org>2000-10-06 11:53:32 +0000
commit3a35c5bf34fb7ff01772bbd323759e49526afada (patch)
treeac73574261f2cede1ef28487dadc66a7bfb51aa7 /sys/amd64/include
parent85918e53b0062cd0b90407fe8e9ecda432dd5504 (diff)
downloadFreeBSD-src-3a35c5bf34fb7ff01772bbd323759e49526afada.zip
FreeBSD-src-3a35c5bf34fb7ff01772bbd323759e49526afada.tar.gz
Work around a bug by adding struct tags. gcc-2.95 apparently gets the
check in the [basic.link] section of the C++ standard wrong. gcc-2.7.2.3 apparently doesn't do the check, so the bug doesn't affect RELENG_3. PR: 16170, 21427 Submitted by: Max Khon <fjoe@lark.websci.ru> (i386 version) Discussed with: jdp
Diffstat (limited to 'sys/amd64/include')
-rw-r--r--sys/amd64/include/setjmp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/include/setjmp.h b/sys/amd64/include/setjmp.h
index 3097df7..a311d83 100644
--- a/sys/amd64/include/setjmp.h
+++ b/sys/amd64/include/setjmp.h
@@ -40,7 +40,7 @@
* internally to avoid some run-time errors for mismatches.
*/
#ifndef _ANSI_SOURCE
-typedef struct { int _sjb[_JBLEN + 1]; } sigjmp_buf[1];
+typedef struct _sigjmp_buf { int _sjb[_JBLEN + 1]; } sigjmp_buf[1];
#endif /* not ANSI */
-typedef struct { int _jb[_JBLEN + 1]; } jmp_buf[1];
+typedef struct _jmp_buf { int _jb[_JBLEN + 1]; } jmp_buf[1];
OpenPOWER on IntegriCloud