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
This commit is contained in:
parent
f5e79dda40
commit
782c59d653
3 changed files with 10 additions and 15 deletions
|
@ -1,6 +1,6 @@
|
|||
// 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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue