Commit 782c59d6 by Tom Tromey Committed by Tom Tromey

natMethod.cc: Include <alloca.h>.

	* java/lang/reflect/natMethod.cc: Include <alloca.h>.
	* java/lang/natDouble.cc: Always include <alloca.h>.
	Fix for PR libgcj/267.

From-SVN: r34665
parent f5e79dda
2000-06-23 Tom Tromey <tromey@cygnus.com>
* java/lang/reflect/natMethod.cc: Include <alloca.h>.
* java/lang/natDouble.cc: Always include <alloca.h>.
Fix for PR libgcj/267.
2000-06-21 Bryce McKinlay <bryce@albatross.co.nz>
* java/lang/ThreadGroup.java (add(Thread)): Rename to addThread() to
......
// natDouble.cc - Implementation of java.lang.Double native methods.
/* Copyright (C) 1998, 1999 Free Software Foundation
/* Copyright (C) 1998, 1999, 2000 Free Software Foundation
This file is part of libgcj.
......@@ -10,20 +10,7 @@ details. */
#include <config.h>
/* AIX requires this to be the first thing in the file. */
#ifndef __GNUC__
# if HAVE_ALLOCA_H
# include <alloca.h>
# else
# ifdef _AIX
#pragma alloca
# else
# ifndef alloca /* predefined by HP cc +Olibcalls */
char *alloca ();
# endif
# endif
# endif
#endif
#include <alloca.h>
#include <stdlib.h>
......
......@@ -10,6 +10,8 @@ details. */
#include <config.h>
#include <alloca.h>
#include <gcj/cni.h>
#include <jvm.h>
#include <jni.h>
......
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