Mercurial > hg > graal-jvmci-8
comparison src/cpu/x86/vm/jni_x86.h @ 513:2328d1d3f8cf
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
author | xlu |
---|---|
date | Wed, 24 Dec 2008 19:13:53 -0800 |
parents | a61af66fc99e |
children | 0fbdb4381b99 |
comparison
equal
deleted
inserted
replaced
512:db4caa99ef11 | 513:2328d1d3f8cf |
---|---|
30 #define JNIEXPORT | 30 #define JNIEXPORT |
31 #define JNIIMPORT | 31 #define JNIIMPORT |
32 #define JNICALL | 32 #define JNICALL |
33 | 33 |
34 typedef int jint; | 34 typedef int jint; |
35 | |
36 #ifdef _LP64 | |
37 typedef long jlong; | |
38 #else | |
35 typedef long long jlong; | 39 typedef long long jlong; |
40 #endif | |
41 | |
36 #else | 42 #else |
37 #define JNIEXPORT __declspec(dllexport) | 43 #define JNIEXPORT __declspec(dllexport) |
38 #define JNIIMPORT __declspec(dllimport) | 44 #define JNIIMPORT __declspec(dllimport) |
39 #define JNICALL __stdcall | 45 #define JNICALL __stdcall |
40 | 46 |