diff options
author | Tom Tromey <tromey@cygnus.com> | 2000-06-23 17:39:00 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2000-06-23 17:39:00 +0000 |
commit | 782c59d653847c43c435a986e3e6a9421c1f7faf (patch) | |
tree | 607b54b19f7dabd03431d3798411349d11e78892 /libjava/java/lang/natDouble.cc | |
parent | f5e79dda40912bdcd4a4903c4167ee69e06be5c6 (diff) | |
download | gcc-782c59d653847c43c435a986e3e6a9421c1f7faf.zip gcc-782c59d653847c43c435a986e3e6a9421c1f7faf.tar.gz gcc-782c59d653847c43c435a986e3e6a9421c1f7faf.tar.bz2 |
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
Diffstat (limited to 'libjava/java/lang/natDouble.cc')
-rw-r--r-- | libjava/java/lang/natDouble.cc | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/libjava/java/lang/natDouble.cc b/libjava/java/lang/natDouble.cc index 86ccdef..f37060f 100644 --- a/libjava/java/lang/natDouble.cc +++ b/libjava/java/lang/natDouble.cc @@ -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> |