hotspot/src/cpu/x86/vm/jni_x86.h
changeset 10739 91935236600e
parent 10565 dc90c239f4ec
child 15228 e92acc84ade3
equal deleted inserted replaced
10738:cc19612c6b9f 10739:91935236600e
    36   #define JNIIMPORT
    36   #define JNIIMPORT
    37 #endif
    37 #endif
    38 
    38 
    39   #define JNICALL
    39   #define JNICALL
    40   typedef int jint;
    40   typedef int jint;
    41 
    41 #if defined(_LP64) && !defined(__APPLE__)
    42 #ifdef _LP64
       
    43   typedef long jlong;
    42   typedef long jlong;
    44 #else
    43 #else
       
    44   /*
       
    45    * On _LP64 __APPLE__ "long" and "long long" are both 64 bits,
       
    46    * but we use the "long long" typedef to avoid complaints from
       
    47    * the __APPLE__ compiler about fprintf formats.
       
    48    */
    45   typedef long long jlong;
    49   typedef long long jlong;
    46 #endif
    50 #endif
    47 
    51 
    48 #else
    52 #else
    49   #define JNIEXPORT __declspec(dllexport)
    53   #define JNIEXPORT __declspec(dllexport)