]> Cypherpunks repositories - gostls13.git/commitdiff
net: fix build on android
authorMikio Hara <mikioh.mikioh@gmail.com>
Thu, 18 Jun 2015 00:38:04 +0000 (09:38 +0900)
committerMikio Hara <mikioh.mikioh@gmail.com>
Thu, 18 Jun 2015 00:45:12 +0000 (00:45 +0000)
Change-Id: Ib6d0b2947748dec98cad2e6abb6812cac46a9897
Reviewed-on: https://go-review.googlesource.com/11220
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/net/cgo_resnew.go
src/net/cgo_resold.go

index 3910b6fc199facd76ab41ae9e6ab671f17699ba9..3e3e77e17d3313c773d363fd248e877ded87e6a1 100644 (file)
@@ -3,7 +3,7 @@
 // license that can be found in the LICENSE file.
 
 // +build cgo,!netgo
-// +build darwin linux netbsd solaris
+// +build darwin linux,!android netbsd solaris
 
 package net
 
index 1756186aa0f6de5687f231552ff5a8b885400fe0..abd04a814d4037c2598bd818bfd2e0aac5425830 100644 (file)
@@ -3,7 +3,7 @@
 // license that can be found in the LICENSE file.
 
 // +build cgo,!netgo
-// +build freebsd dragonfly openbsd
+// +build android freebsd dragonfly openbsd
 
 package net