23 lines
624 B
Plaintext
23 lines
624 B
Plaintext
$NetBSD: patch-bb,v 1.1.1.1 2008/10/14 11:02:24 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];
|