mirror of
https://github.com/corda/corda.git
synced 2025-01-01 02:36:44 +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
|
||||
@@ -461,6 +461,19 @@
|
||||
@@ -461,6 +461,21 @@
|
||||
return JNI_FALSE;
|
||||
}
|
||||
|
||||
|
||||
+#ifdef WIN32
|
||||
+DWORD WINAPI IcmpSendEcho2Ex(HANDLE,
|
||||
+ HANDLE,
|
||||
+ LPVOID,
|
||||
@ -16,6 +17,7 @@
|
||||
+ LPVOID,
|
||||
+ DWORD,
|
||||
+ DWORD);
|
||||
+#endif
|
||||
+
|
||||
/**
|
||||
* ping implementation.
|
||||
|
Loading…
Reference in New Issue
Block a user