aboutsummaryrefslogtreecommitdiffstats
path: root/pngconf.h
diff options
context:
space:
mode:
authorJoseph Wen <josephwen@google.com>2010-08-20 10:42:22 +0800
committerJoseph Wen <josephwen@google.com>2010-09-09 14:34:59 +0800
commit4ce0ee15f268e0161438b4133936cb2826f7fd50 (patch)
treef0b3cdddc334160b246feb13d557503cb29cbe08 /pngconf.h
parent1c5f8c054976e6a55f07375508858044d7f4c6aa (diff)
downloadexternal_libpng-4ce0ee15f268e0161438b4133936cb2826f7fd50.zip
external_libpng-4ce0ee15f268e0161438b4133936cb2826f7fd50.tar.gz
external_libpng-4ce0ee15f268e0161438b4133936cb2826f7fd50.tar.bz2
Add the feature of tile-based decoding to PNG.
There is a relevant patch to the change in zlib: https://android-git.corp.google.com/g/#change,63173 Change-Id: I617b8740a50af0d75df9f49fa6b88dd2decb36dd
Diffstat (limited to 'pngconf.h')
-rw-r--r--pngconf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/pngconf.h b/pngconf.h
index defc16d..27c9c32 100644
--- a/pngconf.h
+++ b/pngconf.h
@@ -22,6 +22,10 @@
#define PNG_1_2_X
+#ifndef PNG_NO_INDEX_SUPPORTED
+# define PNG_INDEX_SUPPORTED
+#endif
+
/*
* PNG_USER_CONFIG has to be defined on the compiler command line. This
* includes the resource compiler for Windows DLL configurations.