diff options
author | Torbjorn Granlund <tege@gmplib.org> | 2010-11-10 16:28:01 +0100 |
---|---|---|
committer | Torbjorn Granlund <tege@gmplib.org> | 2010-11-10 16:28:01 +0100 |
commit | 8bd3c97538d43ab04b6ec662dfccb815561f234a (patch) | |
tree | 8e52373e3c8be0e51c9991968f3c9164dd4dfcee /mpf/set_dfl_prec.c | |
parent | b90bca4c9e1221ced136be6ddb09811ff75e660a (diff) | |
download | gmp-8bd3c97538d43ab04b6ec662dfccb815561f234a.tar.gz |
Make it possible to compile GMP with g++.
Diffstat (limited to 'mpf/set_dfl_prec.c')
-rw-r--r-- | mpf/set_dfl_prec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mpf/set_dfl_prec.c b/mpf/set_dfl_prec.c index df5248860..c209dd997 100644 --- a/mpf/set_dfl_prec.c +++ b/mpf/set_dfl_prec.c @@ -23,7 +23,7 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */ mp_size_t __gmp_default_fp_limb_precision = __GMPF_BITS_TO_PREC (53); void -mpf_set_default_prec (mp_bitcnt_t prec_in_bits) +mpf_set_default_prec (mp_bitcnt_t prec_in_bits) __GMP_NOTHROW { __gmp_default_fp_limb_precision = __GMPF_BITS_TO_PREC (prec_in_bits); } |