You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 lines
658 B

diff -u -r ../poppler-0.26.2/goo/gstrtod.cc ./goo/gstrtod.cc
--- ../poppler-0.26.2/goo/gstrtod.cc 2014-04-26 17:37:22.000000000 +0200
+++ ./goo/gstrtod.cc 2014-06-26 08:44:42.000000000 +0200
@@ -41,7 +41,9 @@
{
char *fail_pos;
double val;
+#ifndef __ANDROID__
struct lconv *locale_data;
+#endif
const char *decimal_point;
int decimal_point_len;
const char *p, *decimal_point_pos;
@@ -50,8 +52,12 @@
fail_pos = NULL;
+#ifdef __ANDROID__
+ decimal_point = ".";
+#else
locale_data = localeconv ();
decimal_point = locale_data->decimal_point;
+#endif
decimal_point_len = strlen (decimal_point);
decimal_point_pos = NULL;