[cairo-bugs] [Bug 70492] Fix compilation with Android's bionic libc

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jun 5 16:31:18 PDT 2014


--- Comment #5 from Bryce Harrington <b.harrington at samsung.com> ---
This could be done a bit more concisely I think:

+const char *
+cairo_get_locale_decimal_point (void)
+#ifdef __BIONIC__
+    return '.';
+    struct lconv *locale_data;
+    locale_data = localeconv ();
+    return locale_data->decimal_point;

Also the #include <locale.h> should be wrapped in an #ifndef __BIONIC__ to
avoid problems, and since it won't be needed there.

You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20140605/89e557af/attachment.html>

More information about the cairo-bugs mailing list