瀏覽代碼

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