diff options
Diffstat (limited to 'newlib/libm/math/w_gamma.c')
-rw-r--r-- | newlib/libm/math/w_gamma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libm/math/w_gamma.c b/newlib/libm/math/w_gamma.c index da0211555..358a493df 100644 --- a/newlib/libm/math/w_gamma.c +++ b/newlib/libm/math/w_gamma.c @@ -145,11 +145,11 @@ Neither <<gamma>> nor <<gammaf>> is ANSI C. */ #endif { #ifdef _IEEE_LIBM - return __ieee754_gamma_r(x,&(_REENT->_new._reent._gamma_signgam)); + return __ieee754_gamma_r(x,&(_REENT_SIGNGAM(_REENT))); #else double y; struct exception exc; - y = __ieee754_gamma_r(x,&(_REENT->_new._reent._gamma_signgam)); + y = __ieee754_gamma_r(x,&(_REENT_SIGNGAM(_REENT))); if(_LIB_VERSION == _IEEE_) return y; if(!finite(y)&&finite(x)) { #ifndef HUGE_VAL |