Commit e4261ef7 by Ranjit Mathew Committed by Tom Tromey

configure.in: Specifically define HAVE_BACKTRACE if building for MinGW.

2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>

	* configure.in: Specifically define HAVE_BACKTRACE if building
	for MinGW.
	* include/win32.h: Remove HAVE_BACKTRACE definition.
	* gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
	* configure: Rebuilt.

From-SVN: r62000
parent df87f988
2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
* configure.in: Specifically define HAVE_BACKTRACE if building
for MinGW.
* include/win32.h: Remove HAVE_BACKTRACE definition.
* gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
* configure: Rebuilt.
2003-01-27 Alexandre Oliva <aoliva@redhat.com>
* configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
......
......@@ -522,6 +522,13 @@ else
AC_DEFINE(HAVE_BACKTRACE)
;;
esac
], [
case "$host" in
*mingw*)
# Has backtrace() defined in libgcj itself
AC_DEFINE(HAVE_BACKTRACE)
;;
esac
])
AC_CHECK_LIB(dl, dladdr, [
......
......@@ -31,6 +31,8 @@ details. */
#include <java/util/IdentityHashMap.h>
#include <java/lang/ArrayIndexOutOfBoundsException.h>
#include "platform.h"
#include <sys/types.h>
#include <stdlib.h>
......
......@@ -115,8 +115,6 @@ _Jv_read(int s, void *buf, int len)
#endif /* DISABLE_JAVA_NET */
#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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment