summaryrefslogtreecommitdiffstats
path: root/src/bind
diff options
context:
space:
mode:
authorBob Jamison <ishmalius@gmail.com>2008-03-09 00:54:57 +0000
committerishmal <ishmal@users.sourceforge.net>2008-03-09 00:54:57 +0000
commit2b88e9e3a073a0f4fb4e0af574a738fe3310a71b (patch)
tree56c499b5a79b8ae8d1af40f1271ba49df472d4c6 /src/bind
parentChange to open versions of the jni .h files (diff)
downloadinkscape-2b88e9e3a073a0f4fb4e0af574a738fe3310a71b.tar.gz
inkscape-2b88e9e3a073a0f4fb4e0af574a738fe3310a71b.zip
Hack up our own little linux jni_md.h file until we get an "official" one
(bzr r5006)
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__ */