Redefine BOOL to avoid name collision

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@15433 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fedor 2002-12-31 16:49:48 +00:00
parent 5316b78cca
commit a3e1a25844
3 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2002-12-31 Adam Fedor <fedor@gnu.org>
* Headers/x11/XGOpenGL.h: Redefine BOOL to avoid name collision
2002-11-27 Frederic De Jaeger <dejaeger@free.fr>
* configure.ac: add the flag --disable-glx.

View file

@ -30,8 +30,10 @@
#include <AppKit/NSOpenGL.h>
#define id _gs_avoid_id_collision
#define BOOL _gs_avoid_BOOL_collision
#include <GL/glx.h>
#undef id
#undef BOOL
@class NSView;
@class XGXSubWindow;

View file

@ -765,12 +765,12 @@ static unsigned int unique_index = 0;
/* ----------------------------------------------------------------------- */
/* Client functions */
/* ----------------------------------------------------------------------- */
- (void) DPSPrintf: (char *)fmt : (va_list)args
- (void) DPSPrintf: (const char *)fmt : (va_list)args
{
/* Do nothing. We can't parse PostScript */
}
- (void) DPSWriteData: (char *)buf : (unsigned int)count
- (void) DPSWriteData: (const char *)buf : (unsigned int)count
{
/* Do nothing. We can't parse PostScript */
}