Set _XOPEN_SOURCE when building on Darwin
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
On non-freestanding builds, including <ucontext.h> on an ARM Darwin system will produce the following error: In file included from include/libucontext/bits.h:6: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/ usr/include/ucontext.h:51:2: error: The deprecated ucontext routines require _XOPEN_SOURCE to be defined Defining this macro on Darwin systems will make the building pass.master
parent
4975ba9051
commit
7badd2d5b2