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

This commit is contained in:
Glenn Randers-Pehrson
2011-11-28 10:38:41 -06:00
parent 414769b415
commit 0b26ac5dee
3 changed files with 12 additions and 8 deletions

View File

@@ -1955,7 +1955,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