Make FPSCR definition endian clean.

PR:		207526
Submitted by:	Simon Byrne
Obtained from:	Julia
MFC after:	1 month
This commit is contained in:
Nathan Whitehorn 2016-02-26 20:25:26 +00:00
parent 2e0050835a
commit f0e6a4d318

View File

@ -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;
};