blob: 37fd0dbd08b2dfacf05ef2f85e190914a973e9d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-bb,v 1.2 2007/03/04 13:11:19 hira Exp $
--- sal/osl/unx/backtrace.h.orig 2007-02-17 22:54:13.000000000 +0900
+++ sal/osl/unx/backtrace.h 2007-02-17 22:57:00.000000000 +0900
@@ -34,7 +34,7 @@
************************************************************************/
-#if defined (SOLARIS) || (FREEBSD)
+#if defined (SOLARIS) || (FREEBSD) || (NETBSD)
#ifdef __cplusplus
extern "C" {
@@ -47,7 +47,7 @@
void backtrace_symbols_fd( void **buffer, int size, int fd );
/* no frame.h on FreeBSD */
-#if defined FREEBSD
+#if defined FREEBSD || NETBSD
struct frame {
long arg0[8];
long arg1[6];
|