mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 04:24:49 +02:00
8034094: SA agent can't compile when jni_x86.h is used
Reviewed-by: dsamersoff, erikj
This commit is contained in:
parent
0a39721031
commit
395c71590f
1 changed files with 7 additions and 8 deletions
|
@ -26,8 +26,14 @@
|
||||||
#ifndef _JAVASOFT_JNI_MD_H_
|
#ifndef _JAVASOFT_JNI_MD_H_
|
||||||
#define _JAVASOFT_JNI_MD_H_
|
#define _JAVASOFT_JNI_MD_H_
|
||||||
|
|
||||||
#if defined(SOLARIS) || defined(LINUX) || defined(_ALLBSD_SOURCE)
|
#if defined(_WIN32)
|
||||||
|
#define JNIEXPORT __declspec(dllexport)
|
||||||
|
#define JNIIMPORT __declspec(dllimport)
|
||||||
|
#define JNICALL __stdcall
|
||||||
|
|
||||||
|
typedef int jint;
|
||||||
|
typedef __int64 jlong;
|
||||||
|
#else
|
||||||
|
|
||||||
// Note: please do not change these without also changing jni_md.h in the JDK
|
// Note: please do not change these without also changing jni_md.h in the JDK
|
||||||
// repository
|
// repository
|
||||||
|
@ -50,13 +56,6 @@
|
||||||
typedef long long jlong;
|
typedef long long jlong;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#else
|
|
||||||
#define JNIEXPORT __declspec(dllexport)
|
|
||||||
#define JNIIMPORT __declspec(dllimport)
|
|
||||||
#define JNICALL __stdcall
|
|
||||||
|
|
||||||
typedef int jint;
|
|
||||||
typedef __int64 jlong;
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef signed char jbyte;
|
typedef signed char jbyte;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue