mirror of https://github.com/Gnucash/gnucash
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3625 57a11ea4-9604-0410-9ed3-97b8803252fdzzzoldreleases/1.6
parent
a016811048
commit
fed1fcd1fe
@ -0,0 +1,34 @@
|
||||
#ifndef _GNC_XML_HELPER_H_
|
||||
#define _GNC_XML_HELPER_H_
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#ifdef HAVE_XML_VERSION_HEADER
|
||||
#include <libxml/xmlversion.h>
|
||||
#endif
|
||||
|
||||
#if defined(LIBXML_VERSION) && LIBXML_VERSION >= 20000
|
||||
|
||||
#include <libxml/tree.h>
|
||||
#include <libxml/parser.h>
|
||||
#include <libxml/xmlmemory.h>
|
||||
#include <libxml/parserInternals.h>
|
||||
#ifndef xmlChildrenNode
|
||||
#define xmlChildrenNode children
|
||||
#define xmlRootNode children
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
||||
#include <gnome-xml/tree.h>
|
||||
#include <gnome-xml/parser.h>
|
||||
#include <gnome-xml/xmlmemory.h>
|
||||
#include <gnome-xml/parserInternals.h>
|
||||
#ifndef xmlChildrenNode
|
||||
#define xmlChildrenNode childs
|
||||
#define xmlRootNode root
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* _GNC_XML_HELPER_H_ */
|
||||
Loading…
Reference in new issue