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')
-rw-r--r--newlib/libm/math/w_lgamma.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libm/math/w_lgamma.c b/newlib/libm/math/w_lgamma.c
index c07804779..c075a4fc1 100644
--- a/newlib/libm/math/w_lgamma.c
+++ b/newlib/libm/math/w_lgamma.c
@@ -22,6 +22,10 @@
#include <reent.h>
#include <errno.h>
+#ifdef _REENT_THREAD_LOCAL
+_Thread_local int _tls_gamma_signgam;
+#endif
+
#ifndef _DOUBLE_IS_32BITS
#ifdef __STDC__