src/cpu/x86/vm/jni_x86.h
Print this page
rev 554 : 6781583: Hotspot build fails on linux 64 bit platform with gcc 4.3.2
Summary: Fixed the wrong cast between types since more restrictions are imposed by gcc 4.3.2
Reviewed-by: jcoomes, acorn, phh, never
*** 30,40 ****
--- 30,46 ----
#define JNIEXPORT
#define JNIIMPORT
#define JNICALL
typedef int jint;
+
+ #ifdef _LP64
+ typedef long jlong;
+ #else
typedef long long jlong;
+ #endif
+
#else
#define JNIEXPORT __declspec(dllexport)
#define JNIIMPORT __declspec(dllimport)
#define JNICALL __stdcall