]> Cypherpunks repositories - gostls13.git/commit
runtime: set _XOPEN_SOURCE_EXTENDED for netbsd
authorMichael Pratt <mpratt@google.com>
Tue, 12 Sep 2023 17:35:15 +0000 (13:35 -0400)
committerMichael Pratt <mpratt@google.com>
Tue, 12 Sep 2023 18:26:38 +0000 (18:26 +0000)
commite8ba0579e2913f96c65b96e0696d64ff5f1599c5
treed8ae4c4a7c91f463e2560381e74a8b79c8780d45
parent5cc1e99f94be59a65ba291e06af6afec7a978427
runtime: set _XOPEN_SOURCE_EXTENDED for netbsd

If _XOPEN_SOURCE is defined, then netbsd also requires
_XOPEN_SOURCE_EXTENDED to define stack_t.

For #62440.

Change-Id: Ib05658c3ca7fae1f6b051566e713ce7bc7c037a0
Reviewed-on: https://go-review.googlesource.com/c/go/+/527775
Run-TryBot: Michael Pratt <mpratt@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/runtime/testdata/testprogcgo/stackswitch.c