فهرست منبع

icmp: add support for windows
Fixes #9253

Change-Id: I29ad04698e20c6e4d04a2b5b161693ac7cd482a2

mattn 11 سال پیش
والد
کامیت
3053e46bf4
3فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 1 1
      icmp/helper_posix.go
  2. 1 1
      icmp/listen_posix.go
  3. 1 1
      icmp/listen_stub.go

+ 1 - 1
icmp/helper_unix.go → icmp/helper_posix.go

@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build darwin dragonfly freebsd linux netbsd openbsd solaris
+// +build darwin dragonfly freebsd linux netbsd openbsd solaris windows
 
 package icmp
 

+ 1 - 1
icmp/listen_unix.go → icmp/listen_posix.go

@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build darwin dragonfly freebsd linux netbsd openbsd solaris
+// +build darwin dragonfly freebsd linux netbsd openbsd solaris windows
 
 package icmp
 

+ 1 - 1
icmp/listen_stub.go

@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build nacl plan9 windows
+// +build nacl plan9
 
 package icmp