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