Fix for #25026 I hope

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27227 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2008-12-06 16:52:03 +00:00
parent 765370413a
commit 9aa22627bd
2 changed files with 13 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2008-12-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSXML.m:
Hack to avoid issues on systems where the xml headers use the reserved
word 'id'.
2008-12-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSCategories.m: ([+launchPathForTool:])

View file

@ -54,6 +54,10 @@
#include "GNUstepBase/GSXML.h"
#include <Foundation/Foundation.h>
/* Avoid problems on systems where the xml headers use 'id'
*/
#define id GSXMLID
/* libxml headers */
#include <libxml/tree.h>
#include <libxml/entities.h>
@ -79,6 +83,9 @@
#include <libxslt/xsltutils.h>
#endif /* HAVE_LIBXSLT */
#undef id
/*
* optimization
*