diff options
author | Ian Lance Taylor <iant@golang.org> | 2024-03-14 21:22:31 -0700 |
---|---|---|
committer | Gopher Robot <gobot@golang.org> | 2024-03-15 17:49:28 +0000 |
commit | 73cac618016a471e770672883619b0e323f9d875 (patch) | |
tree | 2ad4770fecc425664f7c4126261d530b110c7099 /test | |
parent | c2021c3004708d07165c39981e1edb43867d6476 (diff) | |
download | go-73cac618016a471e770672883619b0e323f9d875.tar.gz go-73cac618016a471e770672883619b0e323f9d875.zip |
net: #define _GNU_SOURCE to 1
Makes the build work with CGO_CPPFLAGS=-D_GNU_SOURCE,
as reportedly used by TinyGo.
Fixes #66325
Change-Id: I794f1cd89814638fdb6c3066d13bbd7da88c9d93
Reviewed-on: https://go-review.googlesource.com/c/go/+/571875
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Commit-Queue: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions