aboutsummaryrefslogtreecommitdiff
path: root/libjava/jni.cc
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2001-12-16 22:33:02 +0000
committerTom Tromey <tromey@gcc.gnu.org>2001-12-16 22:33:02 +0000
commit04942eac9b0d10067418038e746428703d17035c (patch)
tree64e32591f27a799f39718a3672ec5eecb78f0e4c /libjava/jni.cc
parent68940f3f3c1c6011be4434d30e1e1f8548be7b7d (diff)
downloadgcc-04942eac9b0d10067418038e746428703d17035c.zip
gcc-04942eac9b0d10067418038e746428703d17035c.tar.gz
gcc-04942eac9b0d10067418038e746428703d17035c.tar.bz2
For PR libgcj/5103:
* include/jvm.h (__GCJ_JNI_IMPL__): Define. * include/config.h.in: Rebuilt. * configure: Rebuilt. * configure.in: Define JV_HAVE_INTTYPES_H if inttypes.h found. Added comment for HAVE_DLOPEN to avoid autoheader error. * gcj/libgcj-config.h.in (JV_HAVE_INTTYPES_H): Added. * include/jni.h: Include <gcj/libgcj-config.h>. Don't include CNI-specific headers if we are compiling ordinary JNI code with a C++ compiler. Include <inttypes.h> and JNIWeakRef.h when appropriate. * jni.cc: Don't include JNIWeakRef.h. From-SVN: r48082
Diffstat (limited to 'libjava/jni.cc')
-rw-r--r--libjava/jni.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/libjava/jni.cc b/libjava/jni.cc
index 1dd299f..24ea048 100644
--- a/libjava/jni.cc
+++ b/libjava/jni.cc
@@ -13,9 +13,6 @@ details. */
#include <stddef.h>
#include <string.h>
-// Define this before including jni.h.
-#define __GCJ_JNI_IMPL__
-
#include <gcj/cni.h>
#include <jvm.h>
#include <java-assert.h>
@@ -41,7 +38,6 @@ details. */
#include <java/lang/Integer.h>
#include <java/lang/ThreadGroup.h>
#include <java/lang/Thread.h>
-#include <gnu/gcj/runtime/JNIWeakRef.h>
#include <gcj/method.h>
#include <gcj/field.h>