blob: 06620e017c85bee3c596af6eac1eca9deb77b425 [file] [log] [blame]
Daniel Veillardf7f41852001-06-22 15:18:01 +00001/*
2 * xmlversion.h : compile-time version informations for the XML parser.
3 *
4 * See Copyright for the status of this software.
5 *
6 * Daniel.Veillard@w3.org
7 */
8
9#ifndef __XML_VERSION_H__
10#define __XML_VERSION_H__
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16/*
17 * use those to be sure nothing nasty will happen if
18 * your library and includes mismatch
19 */
20#ifndef LIBXML2_COMPILING_MSCCDEF
21extern void xmlCheckVersion(int version);
22#endif /* LIBXML2_COMPILING_MSCCDEF */
23#define LIBXML_DOTTED_VERSION "2.3.11"
24#define LIBXML_VERSION 20311
25#define LIBXML_VERSION_STRING "20311"
26#define LIBXML_TEST_VERSION xmlCheckVersion(20311);
27
28/**
29 * WITH_TRIO:
30 *
31 * Whether the trio support need to be configured in
32 */
33#if 0
34#define WITH_TRIO
35#else
36#define WITHOUT_TRIO
37#endif
38
39/**
40 * LIBXML_FTP_ENABLED:
41 *
42 * Whether the FTP support is configured in
43 */
44#if 1
45#define LIBXML_FTP_ENABLED
46#else
47#define LIBXML_FTP_DISABLED
48#endif
49
50/**
51 * LIBXML_HTTP_ENABLED:
52 *
53 * Whether the HTTP support is configured in
54 */
55#if 1
56#define LIBXML_HTTP_ENABLED
57#else
58#define LIBXML_HTTP_DISABLED
59#endif
60
61/**
62 * LIBXML_HTML_ENABLED:
63 *
64 * Whether the HTML support is configured in
65 */
66#if 1
67#define LIBXML_HTML_ENABLED
68#else
69#define LIBXML_HTML_DISABLED
70#endif
71
72/**
73 * LIBXML_CATALOG_ENABLED:
74 *
75 * Whether the Catalog support is configured in
76 */
77#if 1
78#define LIBXML_CATALOG_ENABLED
79#else
80#define LIBXML_CATALOG_DISABLED
81#endif
82
83/**
84 * LIBXML_DOCB_ENABLED:
85 *
86 * Whether the SGML Docbook support is configured in
87 */
88#if 1
89#define LIBXML_DOCB_ENABLED
90#else
91#define LIBXML_DOCB_DISABLED
92#endif
93
94/**
95 * LIBXML_XPATH_ENABLED:
96 *
97 * Whether XPath is configured in
98 */
99#if 1
100#define LIBXML_XPATH_ENABLED
101#else
102#define LIBXML_XPATH_DISABLED
103#endif
104
105/**
106 * LIBXML_XPTR_ENABLED:
107 *
108 * Whether XPointer is configured in
109 */
110#if 1
111#define LIBXML_XPTR_ENABLED
112#else
113#define LIBXML_XPTR_DISABLED
114#endif
115
116/**
117 * LIBXML_XINCLUDE_ENABLED:
118 *
119 * Whether XInclude is configured in
120 */
121#if 1
122#define LIBXML_XINCLUDE_ENABLED
123#else
124#define LIBXML_XINCLUDE_DISABLED
125#endif
126
127/**
128 * LIBXML_ICONV_ENABLED:
129 *
130 * Whether iconv support is available
131 */
132#if !defined(WIN32) || defined(__CYGWIN__)
133#if 1
134#define LIBXML_ICONV_ENABLED
135#else
136#define LIBXML_ICONV_DISABLED
137#endif
138#endif
139
140/**
141 * LIBXML_DEBUG_ENABLED:
142 *
143 * Whether Debugging module is configured in
144 */
145#if 1
146#define LIBXML_DEBUG_ENABLED
147#else
148#define LIBXML_DEBUG_DISABLED
149#endif
150
151/**
152 * DEBUG_MEMORY_LOCATION:
153 *
154 * Whether the memory debugging is configured in
155 */
156#if 1
157#define DEBUG_MEMORY_LOCATION
158#endif
159
160#ifndef LIBXML_DLL_IMPORT
161#if defined(WIN32) && !defined(STATIC)
162#define LIBXML_DLL_IMPORT __declspec(dllimport)
163#else
164#define LIBXML_DLL_IMPORT
165#endif
166#endif
167
168/**
169 * ATTRIBUTE_UNUSED:
170 *
171 * Macro used to signal to GCC unused function parameters
172 */
173#ifdef __GNUC__
174#ifdef HAVE_ANSIDECL_H
175#include <ansidecl.h>
176#endif
177#ifndef ATTRIBUTE_UNUSED
178#define ATTRIBUTE_UNUSED
179#endif
180#else
181#define ATTRIBUTE_UNUSED
182#endif
183
184#ifdef __cplusplus
185}
186#endif /* __cplusplus */
187#endif
188
189