From: ishmal Date: Sun, 9 Mar 2008 00:54:57 +0000 (+0000) Subject: Hack up our own little linux jni_md.h file until we get an "official" one X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=597b8068a2ff886a3b32efdae80c690d4ebd42ec;p=inkscape.git Hack up our own little linux jni_md.h file until we get an "official" one --- 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__ */