mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
ad945c00a6
Apparently the MinGW header files don't declare it, despite it being part of liblphlapi.a. More confusingly, it didn't break anything for 64-bit builds because the compiler used an implicit declaration that matched the link-time symbol name. Alas, no such luck for 32-bit builds, since the implicit declaration was not annotated with the @48 stdcall argument stack size, so the build died at link time.
23 lines
438 B
Diff
23 lines
438 B
Diff
--- openjdk/Inet4AddressImpl.c
|
|
+++ openjdk/Inet4AddressImpl.c
|
|
@@ -461,6 +461,19 @@
|
|
return JNI_FALSE;
|
|
}
|
|
|
|
+DWORD WINAPI IcmpSendEcho2Ex(HANDLE,
|
|
+ HANDLE,
|
|
+ LPVOID,
|
|
+ PVOID,
|
|
+ IPAddr,
|
|
+ IPAddr,
|
|
+ LPVOID,
|
|
+ WORD,
|
|
+ LPVOID,
|
|
+ LPVOID,
|
|
+ DWORD,
|
|
+ DWORD);
|
|
+
|
|
/**
|
|
* ping implementation.
|
|
* Send a ICMP_ECHO_REQUEST packet every second until either the timeout
|