hotspot/src/os/windows/vm/jvm_windows.h
changeset 35212 7a6d0993a080
parent 27157 364276bc8d8b
equal deleted inserted replaced
35209:b2f409087683 35212:7a6d0993a080
    42 #endif
    42 #endif
    43 #endif
    43 #endif
    44 
    44 
    45 #include <windows.h>
    45 #include <windows.h>
    46 
    46 
    47 #if _MSC_VER <= 1200
       
    48 // Psapi.h doesn't come with Visual Studio 6; it can be downloaded as Platform
       
    49 // SDK from Microsoft.  Here are the definitions copied from Psapi.h
       
    50 typedef struct _MODULEINFO {
       
    51     LPVOID lpBaseOfDll;
       
    52     DWORD SizeOfImage;
       
    53     LPVOID EntryPoint;
       
    54 } MODULEINFO, *LPMODULEINFO;
       
    55 
       
    56 #else
       
    57 #include <Psapi.h>
    47 #include <Psapi.h>
    58 #endif
       
    59 
       
    60 #include <Tlhelp32.h>
    48 #include <Tlhelp32.h>
    61 
    49 
    62 typedef int socklen_t;
    50 typedef int socklen_t;
    63 
    51 
    64 #define JNI_ONLOAD_SYMBOLS      {"_JNI_OnLoad@8", "JNI_OnLoad"}
    52 #define JNI_ONLOAD_SYMBOLS      {"_JNI_OnLoad@8", "JNI_OnLoad"}