Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[rust] Define FP_XSTATE_MAGIC1 if not defined
It looks like on old linux versions (like our dist-x86_64-linux builder) FP_XSTATE_MAGIC1 is defined only by asm/sigcontext.h, but not by bits/sigcontext.h. We can't actually include asm/sigcontext.h, because that would clash with types defined in bits/sigcontext.h, which gets pulled in via signal.h. Instead we just replicate the value from the header here.
- Loading branch information