summaryrefslogtreecommitdiff
path: root/cxx/osmpf.cc
diff options
context:
space:
mode:
authorMarc Glisse <marc.glisse@inria.fr>2013-06-28 21:09:37 +0200
committerMarc Glisse <marc.glisse@inria.fr>2013-06-28 21:09:37 +0200
commitc3df806a3671a4f82959f5d3a035836e3ab1267d (patch)
tree084ab59e912365022047b94e683228431467add0 /cxx/osmpf.cc
parent4dba86e698ebb5f929c421af1a7c6c6227a111d5 (diff)
downloadgmp-c3df806a3671a4f82959f5d3a035836e3ab1267d.tar.gz
Use GMP_DECIMAL_POINT more consistently.
Diffstat (limited to 'cxx/osmpf.cc')
-rw-r--r--cxx/osmpf.cc2
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);