1
0
mirror of https://github.com/golang/go synced 2024-10-01 20:38:32 -06:00

runtime/cgo: add +build tags to files named for $GOOS

These are being built into the runtime/cgo for every
operating system. It doesn't seem to matter, but
restore the Go 1.3 behavior anyway.

LGTM=r
R=r, dave
CC=golang-codereviews
https://golang.org/cl/171290043
This commit is contained in:
Russ Cox 2014-11-09 20:20:45 -05:00
parent 9bc842ca18
commit 2cd05c3404
4 changed files with 8 additions and 0 deletions

View File

@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build dragonfly
#include "textflag.h"
// Supply environ and __progname, because we don't

View File

@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build freebsd
#include "textflag.h"
// Supply environ and __progname, because we don't

View File

@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build netbsd
#include "textflag.h"
// Supply environ and __progname, because we don't

View File

@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build openbsd
#include "textflag.h"
// Supply environ, __progname and __guard_local, because