mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-02-19 09:57:23 +03:00
- parser.[ch] parserInternals.c: applied the conditional section processing fix from Jonathan P Springer <jonathan.springer2@gte.net> - xmlversion.h.in win32/libxml2/libxml2.dsp : Updated MS project file, fixed iconv default non support - xpath.c: fixed the problem of evaluating relative expressions when a node context is provided. Daniel
130 lines
2.1 KiB
C
130 lines
2.1 KiB
C
/*
|
|
* xmlversion.h : compile-time version informations for the XML parser.
|
|
*
|
|
* See Copyright for the status of this software.
|
|
*
|
|
* Daniel.Veillard@w3.org
|
|
*/
|
|
|
|
#ifndef __XML_VERSION_H__
|
|
#define __XML_VERSION_H__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/*
|
|
* use those to be sure nothing nasty will happen if
|
|
* your library and includes mismatch
|
|
*/
|
|
extern void xmlCheckVersion(int version);
|
|
#define LIBXML_DOTTED_VERSION "@VERSION@"
|
|
#define LIBXML_VERSION @LIBXML_VERSION_NUMBER@
|
|
#define LIBXML_VERSION_STRING "@LIBXML_VERSION_NUMBER@"
|
|
#define LIBXML_TEST_VERSION xmlCheckVersion(@LIBXML_VERSION_NUMBER@);
|
|
|
|
/*
|
|
* Whether the FTP support is configured in
|
|
*/
|
|
#if @WITH_FTP@
|
|
#define LIBXML_FTP_ENABLED
|
|
#else
|
|
#define LIBXML_FTP_DISABLED
|
|
#endif
|
|
|
|
/*
|
|
* Whether the HTTP support is configured in
|
|
*/
|
|
#if @WITH_HTTP@
|
|
#define LIBXML_HTTP_ENABLED
|
|
#else
|
|
#define LIBXML_HTTP_DISABLED
|
|
#endif
|
|
|
|
/*
|
|
* Whether the HTML support is configured in
|
|
*/
|
|
#if @WITH_HTML@
|
|
#define LIBXML_HTML_ENABLED
|
|
#else
|
|
#define LIBXML_HTML_DISABLED
|
|
#endif
|
|
|
|
/*
|
|
* Whether the Docbook support is configured in
|
|
#if @WITH_SGML@
|
|
#define LIBXML_SGML_ENABLED
|
|
#else
|
|
#define LIBXML_SGML_DISABLED
|
|
#endif
|
|
*/
|
|
|
|
/*
|
|
* Whether XPath is configured in
|
|
*/
|
|
#if @WITH_XPATH@
|
|
#define LIBXML_XPATH_ENABLED
|
|
#else
|
|
#define LIBXML_XPATH_DISABLED
|
|
#endif
|
|
|
|
/*
|
|
* Whether XPointer is configured in
|
|
*/
|
|
#if @WITH_XPTR@
|
|
#define LIBXML_XPTR_ENABLED
|
|
#else
|
|
#define LIBXML_XPTR_DISABLED
|
|
#endif
|
|
|
|
/*
|
|
* Whether XInclude is configured in
|
|
*/
|
|
#if @WITH_XINCLUDE@
|
|
#define LIBXML_XINCLUDE_ENABLED
|
|
#else
|
|
#define LIBXML_XINCLUDE_DISABLED
|
|
#endif
|
|
|
|
/*
|
|
* Whether iconv support is available
|
|
*/
|
|
#ifndef WIN32
|
|
#if @WITH_ICONV@
|
|
#define LIBXML_ICONV_ENABLED
|
|
#else
|
|
#define LIBXML_ICONV_DISABLED
|
|
#endif
|
|
#endif
|
|
|
|
/*
|
|
* Whether Debugging module is configured in
|
|
*/
|
|
#if @WITH_DEBUG@
|
|
#define LIBXML_DEBUG_ENABLED
|
|
#else
|
|
#define LIBXML_DEBUG_DISABLED
|
|
#endif
|
|
|
|
/*
|
|
* Whether the memory debugging is configured in
|
|
*/
|
|
#if @WITH_MEM_DEBUG@
|
|
#define DEBUG_MEMORY_LOCATION
|
|
#endif
|
|
|
|
#ifndef LIBXML_DLL_IMPORT
|
|
#if defined(WIN32) && !defined(STATIC)
|
|
#define LIBXML_DLL_IMPORT __declspec(dllimport)
|
|
#else
|
|
#define LIBXML_DLL_IMPORT
|
|
#endif
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif /* __cplusplus */
|
|
#endif
|
|
|
|
|