]> Cypherpunks repositories - gostls13.git/commit
net: #define _GNU_SOURCE to 1
authorIan Lance Taylor <iant@golang.org>
Fri, 15 Mar 2024 04:22:31 +0000 (21:22 -0700)
committerGopher Robot <gobot@golang.org>
Fri, 15 Mar 2024 17:49:28 +0000 (17:49 +0000)
commit73cac618016a471e770672883619b0e323f9d875
tree2ad4770fecc425664f7c4126261d530b110c7099
parentc2021c3004708d07165c39981e1edb43867d6476
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>
src/net/cgo_unix_cgo.go