Mercurial > hg > truffle
comparison src/os/windows/vm/jvm_windows.h @ 6044:ec15e8f6e4f1
7157695: Add windows implementation of socket interface
Reviewed-by: kvn, dholmes, twisti
Contributed-by: Nils Eliasson <nils.eliasson@oracle.com>
author | twisti |
---|---|
date | Tue, 24 Apr 2012 12:15:32 -0700 |
parents | 11c26bfcf8c7 |
children | ba8fd2fe198b |
comparison
equal
deleted
inserted
replaced
6043:df3d4a91f7f6 | 6044:ec15e8f6e4f1 |
---|---|
57 #include <Psapi.h> | 57 #include <Psapi.h> |
58 #endif | 58 #endif |
59 | 59 |
60 #include <Tlhelp32.h> | 60 #include <Tlhelp32.h> |
61 | 61 |
62 typedef unsigned int socklen_t; | 62 typedef int socklen_t; |
63 | 63 |
64 // #include "jni.h" | 64 // #include "jni.h" |
65 | 65 |
66 #define JNI_ONLOAD_SYMBOLS {"_JNI_OnLoad@8", "JNI_OnLoad"} | 66 #define JNI_ONLOAD_SYMBOLS {"_JNI_OnLoad@8", "JNI_OnLoad"} |
67 #define JNI_ONUNLOAD_SYMBOLS {"_JNI_OnUnload@8", "JNI_OnUnload"} | 67 #define JNI_ONUNLOAD_SYMBOLS {"_JNI_OnUnload@8", "JNI_OnUnload"} |