summaryrefslogtreecommitdiffstats
path: root/make/stub_includes/jni
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-03-24 05:02:42 +0100
committerSven Gothel <[email protected]>2015-03-24 05:02:42 +0100
commit6058af19f2929a39deb0dbcc48040a4bb53bb559 (patch)
tree8713ef3699c9191d53a929ca767f3dd3edf63119 /make/stub_includes/jni
parent4eab2908f5344a330ff18bdf7b168f136d87781a (diff)
Refine JNI header's jni_md.h: Always include 'gluegen_stdint.h' for 'standalone' usage.
On OSX java7 we include the system jni.h and GlueGen's jni_md.h .. Fixes regression of commit 532b8df474976b474f0cf4eb2d93588ded2ad3fe
Diffstat (limited to 'make/stub_includes/jni')
-rw-r--r--make/stub_includes/jni/macosx/jni_md.h2
-rw-r--r--make/stub_includes/jni/win32/jni_md.h2
-rw-r--r--make/stub_includes/jni/x11/jni_md.h2
3 files changed, 6 insertions, 0 deletions
diff --git a/make/stub_includes/jni/macosx/jni_md.h b/make/stub_includes/jni/macosx/jni_md.h
index 4aaa1f9..f64bda4 100644
--- a/make/stub_includes/jni/macosx/jni_md.h
+++ b/make/stub_includes/jni/macosx/jni_md.h
@@ -27,6 +27,8 @@
#ifndef _JAVASOFT_JNI_MD_H_
#define _JAVASOFT_JNI_MD_H_
+#include <gluegen_stdint.h>
+
#ifdef __GLUEGEN__
#define JNIEXPORT
#define JNIIMPORT
diff --git a/make/stub_includes/jni/win32/jni_md.h b/make/stub_includes/jni/win32/jni_md.h
index 10c298e..34282c8 100644
--- a/make/stub_includes/jni/win32/jni_md.h
+++ b/make/stub_includes/jni/win32/jni_md.h
@@ -27,6 +27,8 @@
#ifndef _JAVASOFT_JNI_MD_H_
#define _JAVASOFT_JNI_MD_H_
+#include <gluegen_stdint.h>
+
#ifdef __GLUEGEN__
#define JNIEXPORT
#define JNIIMPORT
diff --git a/make/stub_includes/jni/x11/jni_md.h b/make/stub_includes/jni/x11/jni_md.h
index 63cd2c4..39d3abf 100644
--- a/make/stub_includes/jni/x11/jni_md.h
+++ b/make/stub_includes/jni/x11/jni_md.h
@@ -27,6 +27,8 @@
#ifndef _JAVASOFT_JNI_MD_H_
#define _JAVASOFT_JNI_MD_H_
+#include <gluegen_stdint.h>
+
#define JNIEXPORT
#define JNIIMPORT
#define JNICALL