summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/math.h
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/include/math.h')
-rw-r--r--newlib/libc/include/math.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/include/math.h b/newlib/libc/include/math.h
index e72d9ca21..0b9ef594e 100644
--- a/newlib/libc/include/math.h
+++ b/newlib/libc/include/math.h
@@ -198,7 +198,7 @@ extern float dremf _PARAMS((float, float));
extern int *__signgam _PARAMS((void));
#endif /* ! defined (_REENT_ONLY) */
-#define __signgam_r(ptr) ((ptr)->_new._reent._gamma_signgam)
+#define __signgam_r(ptr) _REENT_SIGNGAM(ptr)
/* The exception structure passed to the matherr routine. */