Skip to content

Commit a843991

Browse files
committed
runtime: set _XOPEN_SORUCE_EXTENDED to 1 for aix
aix requires that _XOPEN_SOURCE_EXTENDED is set to a number, not simply defined. For #62440. Change-Id: Iee221d558b5ad5b8dcb874d4d9fdf94593f7d0a1 Reviewed-on: https://go-review.googlesource.com/c/go/+/527797 TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Cherry Mui <[email protected]> Auto-Submit: Michael Pratt <[email protected]> Run-TryBot: Michael Pratt <[email protected]>
1 parent bc1d71f commit a843991

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/testdata/testprogcgo/stackswitch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// Required for darwin ucontext.
88
#define _XOPEN_SOURCE
99
// Required for netbsd stack_t if _XOPEN_SOURCE is set.
10-
#define _XOPEN_SOURCE_EXTENDED
10+
#define _XOPEN_SOURCE_EXTENDED 1
1111
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
1212

1313
#include <assert.h>

0 commit comments

Comments
 (0)