Add giflib 5.1 compatibility through macro.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37935 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Riccardo Mottola 2014-06-03 11:18:55 +00:00
parent e5ceef02b4
commit ace444c24b
2 changed files with 11 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2014-06-03 Riccardo Mottola <rm@gnu.org>
* Source/NSBitmapImageRep+GIF.m
Add giflib 5.1 compatibility through macro.
2014-05-30 Sebastian Reitenbach <sebastia@l00-bugdedad-prods.de>
* Headers/AppKit/NSStatusItem.h
* Source/NSStatusItem.m

View file

@ -2,7 +2,7 @@
Methods for reading GIF images
Copyright (C) 2003, 2004 Free Software Foundation, Inc.
Copyright (C) 2003-2014 Free Software Foundation, Inc.
Written by: Stefan Kleine Stegemann <stefan@wms-network.de>
Date: Nov 2003
@ -56,6 +56,11 @@ objective-c headers.
#define FALSE 0
#endif /* FALSE */
// GIF 5.1
#if GIFLIB_MAJOR >= 5 && GIFLIB_MINOR >= 1
#define DGifCloseFile(f) DGifCloseFile(f, NULL)
#endif
/* -----------------------------------------------------------
The following types and functions are for interacting with
the gif library.