]> git.eshelyaron.com Git - emacs.git/commit
More elegant solution for accessing png_ptr without GCC warnings.
authorEli Zaretskii <eliz@gnu.org>
Fri, 31 Dec 2010 16:33:40 +0000 (18:33 +0200)
committerEli Zaretskii <eliz@gnu.org>
Fri, 31 Dec 2010 16:33:40 +0000 (18:33 +0200)
commit18da2e74f0df222de51b24ac516deab2680814ec
tree509cfabae3aef381d7a9c058f8d63991e8f0df1c
parentca6e909ce36b365d705dd29e5c7f9a5a7904c719
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.
src/ChangeLog
src/image.c