diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2000-09-14 07:51:56 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2000-09-14 07:51:56 +0000 |
commit | e7e18a21d244061497ee88dea27d4695da2f28f3 (patch) | |
tree | b6d90ae85faa8c655f2554e676c8df655d8e517e /libjava/java | |
parent | 597c1b349fcbda26ba75a4e3a4fb136c26887d7a (diff) | |
download | gcc-e7e18a21d244061497ee88dea27d4695da2f28f3.zip gcc-e7e18a21d244061497ee88dea27d4695da2f28f3.tar.gz gcc-e7e18a21d244061497ee88dea27d4695da2f28f3.tar.bz2 |
defineclass.cc: Include alloca.h only if HAVE_ALLOCA_H.
* defineclass.cc: Include alloca.h only if HAVE_ALLOCA_H.
* java/lang/natDouble.cc: Likewise.
* java/lang/reflect/natMethod.cc: Likewise.
* interpret.cc: Likewise. Fix NULLCHECKs that tested a _Jv_word.
From-SVN: r36404
Diffstat (limited to 'libjava/java')
-rw-r--r-- | libjava/java/lang/natDouble.cc | 2 | ||||
-rw-r--r-- | libjava/java/lang/reflect/natMethod.cc | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/libjava/java/lang/natDouble.cc b/libjava/java/lang/natDouble.cc index 9e78655..dc799b2 100644 --- a/libjava/java/lang/natDouble.cc +++ b/libjava/java/lang/natDouble.cc @@ -10,7 +10,9 @@ details. */ #include <config.h> +#if HAVE_ALLOCA_H #include <alloca.h> +#endif #include <stdlib.h> diff --git a/libjava/java/lang/reflect/natMethod.cc b/libjava/java/lang/reflect/natMethod.cc index 8972852..0f829de 100644 --- a/libjava/java/lang/reflect/natMethod.cc +++ b/libjava/java/lang/reflect/natMethod.cc @@ -10,7 +10,9 @@ details. */ #include <config.h> +#if HAVE_ALLOCA_H #include <alloca.h> +#endif #include <gcj/cni.h> #include <jvm.h> |