aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeon Scroggins III <scroggo@google.com>2018-08-29 11:25:38 -0700
committerandroid-build-merger <android-build-merger@google.com>2018-08-29 11:25:38 -0700
commit7cfd88bba965ac08b36c474fcc5b9f58a139a89e (patch)
tree95dcf6b72b9e5af3290852bae26cdd3d78e3743c
parentec756c3e7a159b0a681be342875b19be85a694f5 (diff)
parent4bc5f654f402460b9ede2a4b13c5697ac174f936 (diff)
downloadlibpng-7cfd88bba965ac08b36c474fcc5b9f58a139a89e.tar.gz
Merge "Undefine PNG_READ_OPT_PLTE_SUPPORTED"
am: 4bc5f654f4 Change-Id: Idb1fb703cdc8b7ac158312448f190207ed4bed50
-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