Fix bug #17790 with compilation against giflib 5.1.0 and later.
authorEli Zaretskii <eliz@gnu.org>
Wed, 18 Jun 2014 15:15:52 +0000 (18:15 +0300)
committerEli Zaretskii <eliz@gnu.org>
Wed, 18 Jun 2014 15:15:52 +0000 (18:15 +0300)
commitb86b15b22117e9aab6e6a033d9a541441acdecb4
tree4385d0db3ccd09165883e57a1768aecc0a9f010f
parentd35b443a668c135c6cf5fbbd2417553c0f4ab9b8
Fix bug #17790 with compilation against giflib 5.1.0 and later.

 src/image.c [5 < GIFLIB_MAJOR + (1 <= GIFLIB_MINOR)]: Declare the
 prototype of DGifCloseFile as appropriate for older and newer
 versions of giflib.
 (gif_close): New function, encapsulates the differences in the
 calling sequence of DGifCloseFile before v5.1.0 and after it.
 (gif_load): Call gif_close instead of DGifCloseFile.  Divulge the
 error string where appropriate.

 lisp/term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
 and later.
lisp/ChangeLog
lisp/term/w32-win.el
src/ChangeLog
src/image.c