giflib 5.1.0 also has EGifCloseFile with 2 parameters,

so add a define like others have to fix its usage.

OK Fred Kiefer



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38544 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Sebastian Reitenbach 2015-05-25 20:13:54 +00:00
parent 2a7e1fbf65
commit e22b248f7e

View file

@ -64,6 +64,7 @@ objective-c headers.
// GIF> 5.1
#if GIFLIB_MAJOR >= 5 && GIFLIB_MINOR >= 1
#define DGifCloseFile(f) DGifCloseFile(f, NULL)
#define EGifCloseFile(f) EGifCloseFile(f, NULL)
#endif
/* -----------------------------------------------------------