Commit | Line | Data |
---|---|---|
59f0d218 FF |
1 | diff -u -r ../fontconfig-2.11.1/src/fcxml.c ./src/fcxml.c |
2 | --- ../fontconfig-2.11.1/src/fcxml.c 2014-03-13 08:00:47.000000000 +0100 | |
3 | +++ ./src/fcxml.c 2014-06-26 08:36:09.000000000 +0200 | |
4 | @@ -1314,10 +1314,13 @@ | |
5 | static double | |
6 | FcStrtod (char *s, char **end) | |
7 | { | |
8 | +#ifndef __ANDROID__ | |
9 | struct lconv *locale_data; | |
10 | char *dot; | |
11 | +#endif | |
12 | double v; | |
13 | ||
14 | +#ifndef __ANDROID__ | |
15 | /* | |
16 | * Have to swap the decimal point to match the current locale | |
17 | * if that locale doesn't use 0x2e | |
18 | @@ -1358,6 +1361,7 @@ | |
19 | } | |
20 | } | |
21 | else | |
22 | +#endif | |
23 | v = strtod (s, end); | |
24 | return v; | |
25 | } |