summaryrefslogtreecommitdiff
path: root/src/const_euler.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/const_euler.c')
-rw-r--r--src/const_euler.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/const_euler.c b/src/const_euler.c
index 2db943865..0d94f58ab 100644
--- a/src/const_euler.c
+++ b/src/const_euler.c
@@ -29,6 +29,14 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
/* Declare the cache */
MPFR_DECL_INIT_CACHE(__gmpfr_cache_const_euler, mpfr_const_euler_internal);
+#ifdef MPFR_WIN_THREAD_SAFE_DLL
+mpfr_cache_t *
+__gmpfr_cache_const_euler_f()
+{
+ return &__gmpfr_cache_const_euler;
+}
+#endif
+
/* Set User Interface */
#undef mpfr_const_euler
int