aboutsummaryrefslogtreecommitdiff
path: root/libjava/gcj
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2001-12-16 22:33:02 +0000
committerTom Tromey <tromey@redhat.com>2001-12-16 22:33:02 +0000
commit57a2b905e1f730b1ff6f272edb571468b46ef431 (patch)
tree64e32591f27a799f39718a3672ec5eecb78f0e4c /libjava/gcj
parenta515548d88bca40b2dcd27208235b40f0af97e3a (diff)
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. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@48082 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/gcj')
-rw-r--r--libjava/gcj/libgcj-config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/libjava/gcj/libgcj-config.h.in b/libjava/gcj/libgcj-config.h.in
index 8bc71e7a2e1..14ccc946fd7 100644
--- a/libjava/gcj/libgcj-config.h.in
+++ b/libjava/gcj/libgcj-config.h.in
@@ -3,3 +3,6 @@
/* Define if hash synchronization is in use. */
#undef JV_HASH_SYNCHRONIZATION
+
+/* Define if <inttypes.h> is available. */
+#undef JV_HAVE_INTTYPES_H