Make FPSCR definition endian clean.
PR: 207526 Submitted by: Simon Byrne Obtained from: Julia MFC after: 1 month
This commit is contained in:
parent
7fc57610ab
commit
a837eb5ff1
@ -97,8 +97,13 @@ extern const fenv_t __fe_dfl_env;
|
|||||||
union __fpscr {
|
union __fpscr {
|
||||||
double __d;
|
double __d;
|
||||||
struct {
|
struct {
|
||||||
|
#if _BYTE_ORDER == _LITTLE_ENDIAN
|
||||||
|
fenv_t __reg;
|
||||||
|
__uint32_t __junk;
|
||||||
|
#else
|
||||||
__uint32_t __junk;
|
__uint32_t __junk;
|
||||||
fenv_t __reg;
|
fenv_t __reg;
|
||||||
|
#endif
|
||||||
} __bits;
|
} __bits;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user