mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 23:42:16 +00:00
Minor fix to avoid name collision with "id" type in Objective-C.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@15000 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6bec019bff
commit
3ca3aceb03
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
2002-11-16 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Headers/x11/XGOpenGL.h: Added define to avoid collision of
|
||||
parameters named "id" in some versions of the OpenGL headers
|
||||
with the Objective-C type "id". This was causing build of
|
||||
back to fail.
|
||||
|
||||
2002-11-15 Frederic De Jaeger <dejaeger@free.fr>
|
||||
|
||||
* Source/x11/XGGLFormat.m, Source/x11/XGGLContext.m
|
||||
|
|
|
@ -28,7 +28,10 @@
|
|||
#define _GNUstep_H_XGOpenGL
|
||||
|
||||
#include <AppKit/NSOpenGL.h>
|
||||
|
||||
#define id _gs_avoid_id_collision
|
||||
#include <GL/glx.h>
|
||||
#undef id
|
||||
|
||||
@class NSView;
|
||||
@class XGXSubWindow;
|
||||
|
|
Loading…
Reference in a new issue