Code

Hack up our own little linux jni_md.h file until we get an "official" one
authorishmal <ishmal@users.sourceforge.net>
Sun, 9 Mar 2008 00:54:57 +0000 (00:54 +0000)
committerishmal <ishmal@users.sourceforge.net>
Sun, 9 Mar 2008 00:54:57 +0000 (00:54 +0000)
src/bind/javainc/linux/jni_md.h [new file with mode: 0644]

diff --git a/src/bind/javainc/linux/jni_md.h b/src/bind/javainc/linux/jni_md.h
new file mode 100644 (file)
index 0000000..d8c8857
--- /dev/null
@@ -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__ */