mirror of
https://github.com/golang/go
synced 2024-11-22 04:34:39 -07:00
runtime: remove an obsolete file
R=golang-dev, adg CC=golang-dev https://golang.org/cl/5686049
This commit is contained in:
parent
10689cddba
commit
22c41ff019
@ -9,6 +9,18 @@ for details on using cgo.
|
|||||||
*/
|
*/
|
||||||
package cgo
|
package cgo
|
||||||
|
|
||||||
|
/*
|
||||||
|
|
||||||
|
#cgo darwin LDFLAGS: -lpthread
|
||||||
|
#cgo freebsd LDFLAGS: -lpthread
|
||||||
|
#cgo linux LDFLAGS: -lpthread
|
||||||
|
#cgo netbsd LDFLAGS: -lpthread
|
||||||
|
#cgo openbsd LDFLAGS: -lpthread
|
||||||
|
#cgo windows LDFLAGS: -lm -mthreads
|
||||||
|
|
||||||
|
*/
|
||||||
|
import "C"
|
||||||
|
|
||||||
// Supports _cgo_panic by converting a string constant to an empty
|
// Supports _cgo_panic by converting a string constant to an empty
|
||||||
// interface.
|
// interface.
|
||||||
|
|
||||||
|
@ -1,20 +0,0 @@
|
|||||||
// Copyright 2011 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 tells the go tool that this package builds using cgo.
|
|
||||||
// TODO: Once we stop using Make, this import can move into cgo.go.
|
|
||||||
|
|
||||||
package cgo
|
|
||||||
|
|
||||||
/*
|
|
||||||
|
|
||||||
#cgo darwin LDFLAGS: -lpthread
|
|
||||||
#cgo freebsd LDFLAGS: -lpthread
|
|
||||||
#cgo linux LDFLAGS: -lpthread
|
|
||||||
#cgo netbsd LDFLAGS: -lpthread
|
|
||||||
#cgo openbsd LDFLAGS: -lpthread
|
|
||||||
#cgo windows LDFLAGS: -lm -mthreads
|
|
||||||
|
|
||||||
*/
|
|
||||||
import "C"
|
|
Loading…
Reference in New Issue
Block a user