Skip to content

Workaround for missing lconv::decimal_point on android #523

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 1, 2016

Conversation

gidapataki
Copy link
Contributor

On android, struct lconv is defined as an empty struct, so accessing decimal_point is a compiler error.
This PR adds a compile-time check, and lc->decimal_point is only compiled if we have a reason to believe it's there.

@cdunn2001
Copy link
Contributor

Sorry for delay. Very helpful change. Thank you.

@cdunn2001 cdunn2001 merged commit 0a97e38 into open-source-parsers:master Sep 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants