diff options
Diffstat (limited to 'mpfr-impl.h')
-rw-r--r-- | mpfr-impl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mpfr-impl.h b/mpfr-impl.h index d236e511d..a8ba46f34 100644 --- a/mpfr-impl.h +++ b/mpfr-impl.h @@ -875,6 +875,9 @@ do { \ (r) = _size * BITS_PER_MP_LIMB - _cnt; \ } while (0) +/* Needs <locale.h> */ +#define MPFR_DECIMAL_POINT ((unsigned char) localeconv()->decimal_point[0]) + /****************************************************** ************** Save exponent macros **************** ******************************************************/ |