[libpng15] Replaced an "#if" with "ifdef" in pngrtran.c

This commit is contained in:
Glenn Randers-Pehrson 2011-11-28 10:31:42 -06:00
parent 61b23d59b1
commit 0222124801
3 changed files with 6 additions and 4 deletions

View File

@ -1,5 +1,5 @@
Libpng 1.5.7beta06 - November 25, 2011
Libpng 1.5.7beta06 - November 28, 2011
This is not intended to be a public release. It will be replaced
within a few weeks by a public version or by another test version.
@ -113,7 +113,8 @@ Version 1.5.7beta05 [November 25, 2011]
Moved pngvalid.c into contrib/libtests
Rebuilt Makefile.in, configure, etc., with autoconf-2.68
Version 1.5.7beta06 [November 25, 2011]
Version 1.5.7beta06 [November 28, 2011]
Replaced an "#if" with "ifdef" in pngrtran.c
Send comments/corrections/commendations to png-mng-implement at lists.sf.net:
(subscription required; visit

View File

@ -3758,7 +3758,8 @@ Version 1.5.7beta05 [November 25, 2011]
Moved pngvalid.c into contrib/libtests
Rebuilt Makefile.in, configure, etc., with autoconf-2.68
Version 1.5.7beta06 [November 25, 2011]
Version 1.5.7beta06 [November 28, 2011]
Replaced an "#if" with "ifdef" in pngrtran.c
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit

View File

@ -1956,7 +1956,7 @@ png_read_transform_info(png_structp png_ptr, png_infop info_ptr)
info_ptr->bit_depth = 8;
# else
# if PNG_READ_SCALE_16_TO_8_SUPPORTED
# ifdef PNG_READ_SCALE_16_TO_8_SUPPORTED
png_ptr->transformations |= PNG_SCALE_16_TO_8;
info_ptr->bit_depth = 8;
# else