aboutsummaryrefslogtreecommitdiffstats
path: root/pngconf.h
diff options
context:
space:
mode:
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.