diff src/ChangeLog @ 112090:1d9002cd082f

More elegant solution for accessing png_ptr without GCC warnings. image.c (png_jmpbuf): New macro. (my_png_error, png_load): Use it instead of #ifdef'ing according to PNG_LIBPNG_VER_MAJOR and PNG_LIBPNG_VER_MINOR.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 31 Dec 2010 18:33:40 +0200
parents 704900942a8e
children 40af77a50adc 376148b31b5e
line wrap: on
line diff
--- a/src/ChangeLog	Fri Dec 31 15:12:11 2010 +0200
+++ b/src/ChangeLog	Fri Dec 31 18:33:40 2010 +0200
@@ -5,6 +5,9 @@
 	version of PNG library we were compiled with.
 	(my_png_error, png_load): Avoid GCC warnings about direct access
 	to png_ptr->jmpbuf.  (Bug#7716)
+	(png_jmpbuf): New macro.
+	(my_png_error, png_load): Use it instead of #ifdef'ing according
+	to PNG_LIBPNG_VER_MAJOR and PNG_LIBPNG_VER_MINOR.
 
 2010-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>