Browse Source

icmp: add support for windows
Fixes #9253

Change-Id: I29ad04698e20c6e4d04a2b5b161693ac7cd482a2

mattn 11 years ago
parent
commit
3053e46bf4
3 changed files with 3 additions and 3 deletions
  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
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 // 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
 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
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 // 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
 package icmp
 
 

+ 1 - 1
icmp/listen_stub.go

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