projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Omit definitions of xmlNode and xmlDocPtr if YAZ_HAVE_XML2 is unset.
[yaz-moved-to-github.git]
/
include
/
yaz
/
xmltypes.h
diff --git
a/include/yaz/xmltypes.h
b/include/yaz/xmltypes.h
index
0def187
..
659957c
100644
(file)
--- a/
include/yaz/xmltypes.h
+++ b/
include/yaz/xmltypes.h
@@
-27,8
+27,7
@@
/**
* \file xmltypes.h
/**
* \file xmltypes.h
- * \brief Define fundamental Libxml2 types for functions YAZ provide.
- * \details If Libxml2 is not installed, we define dummy types instead.
+ * \brief Define xmlNode and xmlDocPtr if Libxml2 is present
*/
#ifndef YAZ_XMLTYPES_H
#define YAZ_XMLTYPES_H
*/
#ifndef YAZ_XMLTYPES_H
#define YAZ_XMLTYPES_H
@@
-37,16
+36,6
@@
#include <libxml/tree.h>
#endif
#include <libxml/tree.h>
#endif
-YAZ_BEGIN_CDECL
-
-#if YAZ_HAVE_XML2
-#else
-typedef void xmlNode;
-typedef void *xmlDocPtr;
-#endif
-
-YAZ_END_CDECL
-
#endif
/*
* Local variables:
#endif
/*
* Local variables: