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.
25 lines
592 B
25 lines
592 B
diff -u -r ../fontconfig-2.11.1/src/fcxml.c ./src/fcxml.c
|
|
--- ../fontconfig-2.11.1/src/fcxml.c 2014-03-13 08:00:47.000000000 +0100
|
|
+++ ./src/fcxml.c 2014-06-26 08:36:09.000000000 +0200
|
|
@@ -1314,10 +1314,13 @@
|
|
static double
|
|
FcStrtod (char *s, char **end)
|
|
{
|
|
+#ifndef __ANDROID__
|
|
struct lconv *locale_data;
|
|
char *dot;
|
|
+#endif
|
|
double v;
|
|
|
|
+#ifndef __ANDROID__
|
|
/*
|
|
* Have to swap the decimal point to match the current locale
|
|
* if that locale doesn't use 0x2e
|
|
@@ -1358,6 +1361,7 @@
|
|
}
|
|
}
|
|
else
|
|
+#endif
|
|
v = strtod (s, end);
|
|
return v;
|
|
}
|
|
|