diff options
author | Marc Glisse <marc.glisse@inria.fr> | 2013-06-28 21:09:37 +0200 |
---|---|---|
committer | Marc Glisse <marc.glisse@inria.fr> | 2013-06-28 21:09:37 +0200 |
commit | c3df806a3671a4f82959f5d3a035836e3ab1267d (patch) | |
tree | 084ab59e912365022047b94e683228431467add0 /cxx/osmpf.cc | |
parent | 4dba86e698ebb5f929c421af1a7c6c6227a111d5 (diff) | |
download | gmp-c3df806a3671a4f82959f5d3a035836e3ab1267d.tar.gz |
Use GMP_DECIMAL_POINT more consistently.
Diffstat (limited to 'cxx/osmpf.cc')
-rw-r--r-- | cxx/osmpf.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cxx/osmpf.cc b/cxx/osmpf.cc index 402a57022..f60514bb7 100644 --- a/cxx/osmpf.cc +++ b/cxx/osmpf.cc @@ -47,7 +47,7 @@ operator<< (ostream &o, mpf_srcptr f) point[0] = use_facet< numpunct<char> >(o.getloc()).decimal_point(); point[1] = '\0'; #else - const char *point = localeconv()->decimal_point; + const char *point = GMP_DECIMAL_POINT; #endif GMP_ASPRINTF_T_INIT (d, &result); |