Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libm/math/w_lgamma.c')
-rw-r--r--newlib/libm/math/w_lgamma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libm/math/w_lgamma.c b/newlib/libm/math/w_lgamma.c
index e56e47767..1dc63994f 100644
--- a/newlib/libm/math/w_lgamma.c
+++ b/newlib/libm/math/w_lgamma.c
@@ -32,11 +32,11 @@
#endif
{
#ifdef _IEEE_LIBM
- return __ieee754_lgamma_r(x,&(_REENT_SIGNGAM(_REENT)));
+ return __ieee754_lgamma_r(x,&(_REENT->_new._reent._gamma_signgam));
#else
double y;
struct exception exc;
- y = __ieee754_lgamma_r(x,&(_REENT_SIGNGAM(_REENT)));
+ y = __ieee754_lgamma_r(x,&(_REENT->_new._reent._gamma_signgam));
if(_LIB_VERSION == _IEEE_) return y;
if(!finite(y)&&finite(x)) {
#ifndef HUGE_VAL