From 597b8068a2ff886a3b32efdae80c690d4ebd42ec Mon Sep 17 00:00:00 2001 From: ishmal Date: Sun, 9 Mar 2008 00:54:57 +0000 Subject: [PATCH] Hack up our own little linux jni_md.h file until we get an "official" one --- src/bind/javainc/linux/jni_md.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/bind/javainc/linux/jni_md.h 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__ */ -- 2.30.2