mirror of
https://github.com/golang/go
synced 2024-11-12 08:10:21 -07:00
net: fix build with CGO_ENABLED=0
R=golang-dev, rsc, mikioh.mikioh CC=golang-dev https://golang.org/cl/7857044
This commit is contained in:
parent
6b57329268
commit
ca15ac36ed
8
src/pkg/net/empty.c
Normal file
8
src/pkg/net/empty.c
Normal file
@ -0,0 +1,8 @@
|
||||
// Copyright 2013 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// This file is required to prevent compiler errors
|
||||
// when the package built with CGO_ENABLED=0.
|
||||
// Otherwise the compiler says:
|
||||
// pkg/net/fd_poll_runtime.go:15: missing function body
|
Loading…
Reference in New Issue
Block a user