aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2021-02-25 11:17:28 -0800
committerHaibo Huang <hhb@google.com>2021-03-01 20:51:38 +0000
commit00a03b0f354bfda61c76b407569cf15c0680d1eb (patch)
treea39bc599e78f83beddd0e70400ba7806c2d1739a
parentb0bee82c6434575fe39b01882583afe32040ab6e (diff)
downloadjsoncpp-00a03b0f354bfda61c76b407569cf15c0680d1eb.tar.gz
[jsoncpp] Disable locale support
'localeconv' has been marked as being introduced in Android 21 here, but the deployment target is Android 16.0.0 Bug: 170642246 Change-Id: I96670acd17892d537dd4ff92968ac6dbbf2729a3
-rw-r--r--Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 86394cf..03e8ac1 100644
--- a/Android.bp
+++ b/Android.bp
@@ -47,6 +47,7 @@ cc_defaults {
cflags: [
"-DJSON_USE_EXCEPTION=0",
+ "-DJSONCPP_NO_LOCALE_SUPPORT",
"-Wall",
"-Werror",
"-Wno-implicit-fallthrough",