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