mirror of
https://github.com/corda/corda.git
synced 2025-01-06 05:04:20 +00:00
wrap Windows-specific code in Inet4AddressImpl.c.8.patch in a preprocessor check
This commit is contained in:
parent
96ed0fda84
commit
fb53bf1f42
@ -1,9 +1,10 @@
|
|||||||
--- openjdk/Inet4AddressImpl.c
|
--- openjdk/Inet4AddressImpl.c
|
||||||
+++ openjdk/Inet4AddressImpl.c
|
+++ openjdk/Inet4AddressImpl.c
|
||||||
@@ -461,6 +461,19 @@
|
@@ -461,6 +461,21 @@
|
||||||
return JNI_FALSE;
|
return JNI_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
+#ifdef WIN32
|
||||||
+DWORD WINAPI IcmpSendEcho2Ex(HANDLE,
|
+DWORD WINAPI IcmpSendEcho2Ex(HANDLE,
|
||||||
+ HANDLE,
|
+ HANDLE,
|
||||||
+ LPVOID,
|
+ LPVOID,
|
||||||
@ -16,6 +17,7 @@
|
|||||||
+ LPVOID,
|
+ LPVOID,
|
||||||
+ DWORD,
|
+ DWORD,
|
||||||
+ DWORD);
|
+ DWORD);
|
||||||
|
+#endif
|
||||||
+
|
+
|
||||||
/**
|
/**
|
||||||
* ping implementation.
|
* ping implementation.
|
||||||
|
Loading…
Reference in New Issue
Block a user