diff options
| author | Ian Lance Taylor <iant@golang.org> | 2018-11-30 14:21:33 -0800 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2018-12-01 05:30:16 +0000 |
| commit | f70bd914353b2331a48eedb84aceb458982eaac0 (patch) | |
| tree | b058a86115fa4225fcdfbfb60b9091e98f2beadc /src/bytes/buffer.go | |
| parent | c042fedbc8dbbf27603a360d79d59b4969f299ec (diff) | |
| download | go-f70bd914353b2331a48eedb84aceb458982eaac0.tar.xz | |
cmd/cgo: use preprocessor macros to avoid prolog redefinitions
Avoid redefinition errors when a Go file uses a cgo comment to
There is no particularly good reason to do this, but there is also no
particularly good reason that it should fail.
Fixes #27019
Change-Id: Icd6f8197a89be4ee6b03ddae675667998a8b4189
Reviewed-on: https://go-review.googlesource.com/c/152079
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/bytes/buffer.go')
0 files changed, 0 insertions, 0 deletions
