This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: Include platform.h in gnu/gcj/runtime/natStackTrace.cc
- From: Tom Tromey <tromey at redhat dot com>
- To: Andrew Haley <aph at redhat dot com>
- Cc: Ranjit Mathew <rmathew at hotmail dot com>, java-patches at gcc dot gnu dot org
- Date: 25 Jan 2003 12:18:56 -0700
- Subject: Re: Patch: Include platform.h in gnu/gcj/runtime/natStackTrace.cc
- References: <b0uipm$svi$2@main.gmane.org><15922.58111.160019.861642@cuddles.cambridge.redhat.com>
- Reply-to: tromey at redhat dot com
>>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:
Ranjit> This patch makes "gnu/gcj/runtime/natStackTrace.cc" include
Ranjit> "platform.h" so that, at least on Win32, HAVE_BACKTRACE gets
Ranjit> defined and the prototype for backtrace( ) gets specified as well.
Andrew> No. This is a configure variable, and should be set in configure.in.
In this case, backtrace() is provided by libgcj.
I was going to approve this patch.
But I see what you mean: we should just AC_DEFINE HAVE_BACKTRACE in
configure.in for the appropriate architecture(s).
Ranjit, could you do that? And remove the define from win32.h.
Tom