aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/database/sql/sql.go
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2014-04-29 08:53:38 -0400
committerIan Lance Taylor <iant@golang.org>2014-04-29 08:53:38 -0400
commitfee51f45ab37c77ad8b7967b091ddf19d4e259a3 (patch)
treea6150c46b0afc1acf267f60376a8ea5f9eb1434f /src/pkg/database/sql/sql.go
parent382cc8cb398c011a1701c410b747f1e80fa66687 (diff)
downloadgo-fee51f45ab37c77ad8b7967b091ddf19d4e259a3.tar.xz
cmd/cgo: for gccgo add #define to cgo_export.h for expected name
For gccgo we rename exported functions so that the compiler will make them visible. This CL adds a #define so that C functions that #include "cgo_export.h" can use the expected names of the function. The test for this is the existing issue6833 test in misc/cgo/test. Without this CL it fails when using -compiler=gccgo. LGTM=minux.ma, rsc R=golang-codereviews, gobot, rsc, minux.ma CC=golang-codereviews https://golang.org/cl/91830046
Diffstat (limited to 'src/pkg/database/sql/sql.go')
0 files changed, 0 insertions, 0 deletions