summaryrefslogtreecommitdiff
path: root/src/mpfr-impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mpfr-impl.h')
-rw-r--r--src/mpfr-impl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mpfr-impl.h b/src/mpfr-impl.h
index 866967f75..e2812a425 100644
--- a/src/mpfr-impl.h
+++ b/src/mpfr-impl.h
@@ -253,7 +253,6 @@ typedef struct __gmpfr_cache_s *mpfr_cache_ptr;
#endif
#if defined(__MPFR_WITHIN_MPFR) || !defined(MPFR_WIN_THREAD_SAFE_DLL)
-# define MPFR_MAKE_VARFCT(T,N)
extern MPFR_THREAD_ATTR unsigned int __gmpfr_flags;
extern MPFR_THREAD_ATTR mpfr_exp_t __gmpfr_emin;
extern MPFR_THREAD_ATTR mpfr_exp_t __gmpfr_emax;
@@ -317,6 +316,8 @@ __MPFR_DECLSPEC mpfr_cache_ptr * __gmpfr_cache_const_log2_f (void);
# define __gmpfr_cache_const_log2 (*__gmpfr_cache_const_log2_f())
# endif
# endif
+#else
+# define MPFR_MAKE_VARFCT(T,N)
#endif
# define MPFR_THREAD_VAR(T,N,V) \