}
else version ( freebsd )
{
- struct fenv_t
- {
- ushort __control;
- ushort __mxcsr_hi;
- ushort __status;
- ushort __mxcsr_lo;
- uint __tag;
- byte[16] __other;
- }
+ struct fenv_t
+ {
+ ushort __control;
+ ushort __mxcsr_hi;
+ ushort __status;
+ ushort __mxcsr_lo;
+ uint __tag;
+ byte[16] __other;
+ }
- alias ushort fexcept_t;
+ alias ushort fexcept_t;
}
else
{
private extern fenv_t _FE_DFL_ENV;
fenv_t* FE_DFL_ENV = &_FE_DFL_ENV;
}
+else version( freebsd )
+{
+ private extern fenv_t __fe_dfl_env;
+ fenv_t* FE_DFL_ENV = &__fe_dfl_env;
+}
else
{
static assert( false );