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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=296111

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