summaryrefslogtreecommitdiff
path: root/example.c
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2014-11-06 22:11:39 -0600
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2014-11-06 22:11:39 -0600
commitcda68df8c17ac23083904c580a6115b06aa8675d (patch)
tree9fa3efe8995b7fefb39fc4a96277e5778e0aa5a4 /example.c
parent70cb8f9a7eb3d0ea3bd7ac9308cd31e49111c09d (diff)
[libpng16] Changed "#endif /* PNG_FEATURE_SUPPORTED */" to "#endif /* FEATURE */"
Diffstat (limited to 'example.c')
-rw-r--r--example.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/example.c b/example.c
index f8067b936..8bb27d79f 100644
--- a/example.c
+++ b/example.c
@@ -494,7 +494,7 @@ void read_png(FILE *fp, unsigned int sig_read) /* File is already open */
max_screen_colors, histogram, 0);
}
}
-#endif /* PNG_READ_QUANTIZE_SUPPORTED */
+#endif /* READ_QUANTIZE /
/* Invert monochrome files to have 0 as white and 1 as black */
png_set_invert_mono(png_ptr);
@@ -532,7 +532,7 @@ void read_png(FILE *fp, unsigned int sig_read) /* File is already open */
number_passes = png_set_interlace_handling(png_ptr);
#else
number_passes = 1;
-#endif /* PNG_READ_INTERLACING_SUPPORTED */
+#endif /* READ_INTERLACING */
/* Optional call to gamma correct and add the background to the palette
@@ -744,7 +744,7 @@ row_callback(png_structp png_ptr, png_bytep new_row,
* to pass the current row as new_row, and the function will combine
* the old row and the new row.
*/
-#endif /* PNG_READ_INTERLACING_SUPPORTED */
+#endif /* READ_INTERLACING */
}
end_callback(png_structp png_ptr, png_infop info)