summaryrefslogtreecommitdiffstats
path: root/libjava/include/win32.h
diff options
context:
space:
mode:
authormegacz <megacz@138bc75d-0d04-0410-961f-82ee72b054a4>2002-04-24 01:33:19 +0000
committermegacz <megacz@138bc75d-0d04-0410-961f-82ee72b054a4>2002-04-24 01:33:19 +0000
commit22b229f4ba9db2aad1adee4c220318c6a2967f49 (patch)
treeb09f0ef88666b7cf5f7e6c1694bf7db50ac9508f /libjava/include/win32.h
parentcb135e40a10c4d219e1560af4427e9f279f1fa8e (diff)
downloadppe42-gcc-22b229f4ba9db2aad1adee4c220318c6a2967f49.tar.gz
ppe42-gcc-22b229f4ba9db2aad1adee4c220318c6a2967f49.zip
2002-04-23 Adam Megacz <adam@xwt.org>
* 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
Diffstat (limited to 'libjava/include/win32.h')
-rw-r--r--libjava/include/win32.h6
1 files changed, 6 insertions, 0 deletions
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__ */
OpenPOWER on IntegriCloud