summaryrefslogtreecommitdiffstats
path: root/src/bind
diff options
context:
space:
mode:
Diffstat (limited to 'src/bind')
-rw-r--r--src/bind/javainc/linux/jni_md.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/bind/javainc/linux/jni_md.h b/src/bind/javainc/linux/jni_md.h
new file mode 100644
index 000000000..d8c88574a
--- /dev/null
+++ b/src/bind/javainc/linux/jni_md.h
@@ -0,0 +1,26 @@
+/**
+ * This file should be replaced by the "official" jni_md.h
+ * for linux
+ */
+#ifndef __JNI_MD_H__
+#define __JNI_MD_H__
+
+/**
+ * Nothing special for these declspecs for Linux. Leave alone.
+ */
+#define JNIEXPORT
+#define JNIIMPORT
+#define JNICALL
+
+typedef signed char jbyte;
+typedef int jint;
+
+/* 64 bit? */
+#ifdef _LP64
+typedef long jlong;
+#else
+typedef long long jlong;
+#endif
+
+
+#endif /* __JNI_MD_H__ */