mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 06:51:44 +00:00
Redefine Object across the include of gif_lib.h .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18341 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c807e165b4
commit
5cb7b4b8dc
2 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-01-08 23:26 Alexander Malmberg <alexander@malmberg.org>
|
||||
|
||||
* Source/NSBitmapImageRep+GIF.m: Re-#define Object across the
|
||||
include of gif_lib.h . (Reported by Stefan Kleine Stegemann.)
|
||||
|
||||
2004-01-08 19:41 Alexander Malmberg <alexander@malmberg.org>
|
||||
|
||||
* configure.ac: Add a check for libungif.
|
||||
|
|
|
@ -30,7 +30,14 @@
|
|||
|
||||
#if HAVE_LIBUNGIF
|
||||
|
||||
/*
|
||||
gif_lib.h (4.1.0b1, possibly other versions) uses Object as the name of an
|
||||
argument to a function. This causes a conflict with Object declared by the
|
||||
objective-c headers.
|
||||
*/
|
||||
#define Object GS_GifLib_Object
|
||||
#include <gif_lib.h>
|
||||
#undef Object
|
||||
|
||||
#include <Foundation/NSString.h>
|
||||
#include <Foundation/NSData.h>
|
||||
|
|
Loading…
Reference in a new issue