From 22b229f4ba9db2aad1adee4c220318c6a2967f49 Mon Sep 17 00:00:00 2001 From: megacz Date: Wed, 24 Apr 2002 01:33:19 +0000 Subject: 2002-04-23 Adam Megacz * win32.cc, include/win32.cc (backtrace): Added this function because Win32 does not supply it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52701 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/include/win32.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libjava/include/win32.h') diff --git a/libjava/include/win32.h b/libjava/include/win32.h index 9a8a7690914..8fbe39335d0 100644 --- a/libjava/include/win32.h +++ b/libjava/include/win32.h @@ -29,4 +29,10 @@ _Jv_platform_close_on_exec (jint) // Ignore. } +#define HAVE_BACKTRACE + +/* Store up to SIZE return address of the current program state in + ARRAY and return the exact number of values stored. */ +extern int backtrace (void **__array, int __size); + #endif /* __JV_WIN32_H__ */ -- cgit v1.2.3