corda/sgx-jvm/avian/openjdk-patches/Inet4AddressImpl.c.8.patch
Andras Slemmer 9bb3d6b972 Add 'sgx-jvm/avian/' from commit '09e4fe60d01f4f4bfb6b2976973bb4913ef61edc'
git-subtree-dir: sgx-jvm/avian
git-subtree-mainline: f978eab8d1
git-subtree-split: 09e4fe60d0
2017-03-13 12:18:24 +00:00

25 lines
459 B
Diff

--- openjdk/Inet4AddressImpl.c
+++ openjdk/Inet4AddressImpl.c
@@ -461,6 +461,21 @@
return JNI_FALSE;
}
+#ifdef WIN32
+DWORD WINAPI IcmpSendEcho2Ex(HANDLE,
+ HANDLE,
+ LPVOID,
+ PVOID,
+ IPAddr,
+ IPAddr,
+ LPVOID,
+ WORD,
+ LPVOID,
+ LPVOID,
+ DWORD,
+ DWORD);
+#endif
+
/**
* ping implementation.
* Send a ICMP_ECHO_REQUEST packet every second until either the timeout