diff options
Diffstat (limited to 'Build/source/libs/mpfr/mpfr-src/src/const_catalan.c')
-rw-r--r-- | Build/source/libs/mpfr/mpfr-src/src/const_catalan.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Build/source/libs/mpfr/mpfr-src/src/const_catalan.c b/Build/source/libs/mpfr/mpfr-src/src/const_catalan.c index 0e4402d7643..41b6bd97d64 100644 --- a/Build/source/libs/mpfr/mpfr-src/src/const_catalan.c +++ b/Build/source/libs/mpfr/mpfr-src/src/const_catalan.c @@ -1,7 +1,7 @@ /* mpfr_const_catalan -- compute Catalan's constant. -Copyright 2005-2015 Free Software Foundation, Inc. -Contributed by the AriC and Caramel projects, INRIA. +Copyright 2005-2016 Free Software Foundation, Inc. +Contributed by the AriC and Caramba projects, INRIA. This file is part of the GNU MPFR Library. @@ -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 |