Commit 6e8f9ab
committed
[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.1 parent c3c82dc commit 6e8f9ab
File tree
1 file changed
+3
-0
lines changed- compiler-rt/lib/sanitizer_common
1 file changed
+3
-0
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
221 | 224 | | |
222 | 225 | | |
223 | 226 | | |
| |||
0 commit comments