]> Cypherpunks repositories - gostls13.git/commit
cgo: fix enum const conflict
authorGustavo Niemeyer <gustavo@niemeyer.net>
Tue, 11 Jan 2011 15:15:49 +0000 (10:15 -0500)
committerRuss Cox <rsc@golang.org>
Tue, 11 Jan 2011 15:15:49 +0000 (10:15 -0500)
commit02ff646fef25769c7ba756fcdf03f13b7afbf4f3
tree75a9b961eec6433c462f11e3422f94c3a134bc1d
parent4bdaf59cc9aab1f4bf6919460a2e9b50c023d3eb
cgo: fix enum const conflict

This change prevents enum consts from conflicting with themselves
when loaded twice in different go files.

Fixes #1400.

R=rsc
CC=golang-dev
https://golang.org/cl/3849044
src/cmd/cgo/gcc.go