From c2a6704f600a3227e7bcc1d2a4ecbafb2c08086c Mon Sep 17 00:00:00 2001 From: Adam Megacz Date: Wed, 24 Apr 2002 01:33:19 +0000 Subject: win32.cc, win32.cc (backtrace): Added this function because Win32 does not supply it. 2002-04-23 Adam Megacz * win32.cc, include/win32.cc (backtrace): Added this function because Win32 does not supply it. From-SVN: r52701 --- libjava/include/win32.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libjava/include') diff --git a/libjava/include/win32.h b/libjava/include/win32.h index 9a8a769..8fbe393 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.1