aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-prod (mdb) <android-build-team-robot@google.com>2019-01-15 22:58:52 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-01-15 22:58:52 +0000
commit5d19b1bb0f5694f2ae47b3cc2ccfeb571764b439 (patch)
tree95dcf6b72b9e5af3290852bae26cdd3d78e3743c
parent5695189d2c87a214a41a1974c2d8014e52e4b6f8 (diff)
parentca3b792907e36c4760c10257c23e7e7488d54785 (diff)
downloadlibpng-5d19b1bb0f5694f2ae47b3cc2ccfeb571764b439.tar.gz
-rw-r--r--README.android3
-rw-r--r--pnglibconf.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/README.android b/README.android
index 80e837e61..5f94dc96e 100644
--- a/README.android
+++ b/README.android
@@ -10,4 +10,5 @@ be listed here:
(2) pnglibconf.h
This is copied from scripts/pnglibconf.h.prebuilt.
- Android has undefined PNG_WARNINGS_SUPPORTED.
+ Android has undefined PNG_WARNINGS_SUPPORTED and
+ PNG_READ_OPT_PLTE_SUPPORTED.
diff --git a/pnglibconf.h b/pnglibconf.h
index 366cdc64c..32e60aa14 100644
--- a/pnglibconf.h
+++ b/pnglibconf.h
@@ -65,7 +65,7 @@
#define PNG_READ_INT_FUNCTIONS_SUPPORTED
#define PNG_READ_INVERT_ALPHA_SUPPORTED
#define PNG_READ_INVERT_SUPPORTED
-#define PNG_READ_OPT_PLTE_SUPPORTED
+/*#undef PNG_READ_OPT_PLTE_SUPPORTED*/
#define PNG_READ_PACKSWAP_SUPPORTED
#define PNG_READ_PACK_SUPPORTED
#define PNG_READ_QUANTIZE_SUPPORTED