X-Git-Url: https://git.llucax.com/software/druntime.git/blobdiff_plain/5a07183e26b7ca151959629420a83f59af5339f3..cbb7919d51425b5dea3aa5189228d3088ca20dfc:/import/stdc/fenv.d diff --git a/import/stdc/fenv.d b/import/stdc/fenv.d index 8b2dd8c..cdeb2da 100644 --- a/import/stdc/fenv.d +++ b/import/stdc/fenv.d @@ -64,17 +64,17 @@ else version ( darwin ) } 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 { @@ -110,6 +110,11 @@ else version( darwin ) 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 );