]> gerrit.simantics Code Review - simantics/fmil.git/blob - org.simantics.fmil.core/native/FMUSimulator/include/linux/jni_md.h
Linux 64 support for FMU
[simantics/fmil.git] / org.simantics.fmil.core / native / FMUSimulator / include / linux / jni_md.h
1 /*
2  * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved.
3  * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
4  *
5  *
6  *
7  *
8  *
9  *
10  *
11  *
12  *
13  *
14  *
15  *
16  *
17  *
18  *
19  *
20  *
21  *
22  *
23  *
24  */
25
26 #ifndef _JAVASOFT_JNI_MD_H_
27 #define _JAVASOFT_JNI_MD_H_
28
29 #ifndef __has_attribute
30   #define __has_attribute(x) 0
31 #endif
32 #if (defined(__GNUC__) && ((__GNUC__ > 4) || (__GNUC__ == 4) && (__GNUC_MINOR__ > 2))) || __has_attribute(visibility)
33   #define JNIEXPORT     __attribute__((visibility("default")))
34   #define JNIIMPORT     __attribute__((visibility("default")))
35 #else
36   #define JNIEXPORT
37   #define JNIIMPORT
38 #endif
39
40 #define JNICALL
41
42 typedef int jint;
43 #ifdef _LP64 /* 64-bit Solaris */
44 typedef long jlong;
45 #else
46 typedef long long jlong;
47 #endif
48
49 typedef signed char jbyte;
50
51 #endif /* !_JAVASOFT_JNI_MD_H_ */