ReactOS  0.4.14-dev-41-g31d7680
xmlversion.h
Go to the documentation of this file.
1 /*
2  * Summary: compile-time version informations
3  * Description: compile-time version informations for the XML library
4  *
5  * Copy: See Copyright for the status of this software.
6  *
7  * Author: Daniel Veillard
8  */
9 
10 #ifndef __XML_VERSION_H__
11 #define __XML_VERSION_H__
12 
13 #include <libxml/xmlexports.h>
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
19 /*
20  * use those to be sure nothing nasty will happen if
21  * your library and includes mismatch
22  */
23 #ifndef LIBXML2_COMPILING_MSCCDEF
25 #endif /* LIBXML2_COMPILING_MSCCDEF */
26 
32 #define LIBXML_DOTTED_VERSION "2.9.9"
33 
39 #define LIBXML_VERSION 20909
40 
46 #define LIBXML_VERSION_STRING "20909"
47 
53 #define LIBXML_VERSION_EXTRA "-GITv2.9.9-rc2-2-g7c4949afa"
54 
61 #define LIBXML_TEST_VERSION xmlCheckVersion(20909);
62 
63 #ifndef VMS
64 #if 0
65 
70 #define WITH_TRIO
71 #else
72 
77 #define WITHOUT_TRIO
78 #endif
79 #else /* VMS */
80 
85 #define WITH_TRIO 1
86 #endif /* VMS */
87 
93 #if 1
94 #if defined(_REENTRANT) || defined(__MT__) || \
95  (defined(_POSIX_C_SOURCE) && (_POSIX_C_SOURCE - 0 >= 199506L))
96 #define LIBXML_THREAD_ENABLED
97 #endif
98 #endif
99 
105 #if 0
106 #define LIBXML_THREAD_ALLOC_ENABLED
107 #endif
108 
114 #if 1
115 #define LIBXML_TREE_ENABLED
116 #endif
117 
123 #if 1
124 #define LIBXML_OUTPUT_ENABLED
125 #endif
126 
132 #if 1
133 #define LIBXML_PUSH_ENABLED
134 #endif
135 
141 #if 1
142 #define LIBXML_READER_ENABLED
143 #endif
144 
150 #if 1
151 #define LIBXML_PATTERN_ENABLED
152 #endif
153 
159 #if 1
160 #define LIBXML_WRITER_ENABLED
161 #endif
162 
168 #if 1
169 #define LIBXML_SAX1_ENABLED
170 #endif
171 
177 #if 1
178 #define LIBXML_FTP_ENABLED
179 #endif
180 
186 #if 1
187 #define LIBXML_HTTP_ENABLED
188 #endif
189 
195 #if 1
196 #define LIBXML_VALID_ENABLED
197 #endif
198 
204 #if 1
205 #define LIBXML_HTML_ENABLED
206 #endif
207 
213 #if 1
214 #define LIBXML_LEGACY_ENABLED
215 #endif
216 
222 #if 1
223 #define LIBXML_C14N_ENABLED
224 #endif
225 
231 #if 1
232 #define LIBXML_CATALOG_ENABLED
233 #endif
234 
240 #if 1
241 #define LIBXML_DOCB_ENABLED
242 #endif
243 
249 #if 1
250 #define LIBXML_XPATH_ENABLED
251 #endif
252 
258 #if 1
259 #define LIBXML_XPTR_ENABLED
260 #endif
261 
267 #if 1
268 #define LIBXML_XINCLUDE_ENABLED
269 #endif
270 
276 #if 1
277 #define LIBXML_ICONV_ENABLED
278 #endif
279 
285 #if 0
286 #define LIBXML_ICU_ENABLED
287 #endif
288 
294 #if 0
295 #define LIBXML_ISO8859X_ENABLED
296 #endif
297 
303 #if 1
304 #define LIBXML_DEBUG_ENABLED
305 #endif
306 
312 #if 0
313 #define DEBUG_MEMORY_LOCATION
314 #endif
315 
321 #if 0
322 #define LIBXML_DEBUG_RUNTIME
323 #endif
324 
330 #if 1
331 #define LIBXML_UNICODE_ENABLED
332 #endif
333 
339 #if 1
340 #define LIBXML_REGEXP_ENABLED
341 #endif
342 
348 #if 1
349 #define LIBXML_AUTOMATA_ENABLED
350 #endif
351 
357 #if 1
358 #define LIBXML_EXPR_ENABLED
359 #endif
360 
366 #if 1
367 #define LIBXML_SCHEMAS_ENABLED
368 #endif
369 
375 #if 1
376 #define LIBXML_SCHEMATRON_ENABLED
377 #endif
378 
384 #if 1
385 #define LIBXML_MODULES_ENABLED
386 
391 #define LIBXML_MODULE_EXTENSION ".dll"
392 #endif
393 
399 #if 1
400 #define LIBXML_ZLIB_ENABLED
401 #endif
402 
408 #if 0
409 #define LIBXML_LZMA_ENABLED
410 #endif
411 
412 #ifdef __GNUC__
413 
420 #ifndef ATTRIBUTE_UNUSED
421 # if ((__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 7)))
422 # define ATTRIBUTE_UNUSED __attribute__((unused))
423 # else
424 # define ATTRIBUTE_UNUSED
425 # endif
426 #endif
427 
434 #ifndef LIBXML_ATTR_ALLOC_SIZE
435 # if (!defined(__clang__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 3))))
436 # define LIBXML_ATTR_ALLOC_SIZE(x) __attribute__((alloc_size(x)))
437 # else
438 # define LIBXML_ATTR_ALLOC_SIZE(x)
439 # endif
440 #else
441 # define LIBXML_ATTR_ALLOC_SIZE(x)
442 #endif
443 
450 #ifndef LIBXML_ATTR_FORMAT
451 # if ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)))
452 # define LIBXML_ATTR_FORMAT(fmt,args) __attribute__((__format__(__printf__,fmt,args)))
453 # else
454 # define LIBXML_ATTR_FORMAT(fmt,args)
455 # endif
456 #else
457 # define LIBXML_ATTR_FORMAT(fmt,args)
458 #endif
459 
460 #else /* ! __GNUC__ */
461 
466 #define ATTRIBUTE_UNUSED
467 
472 #define LIBXML_ATTR_ALLOC_SIZE(x)
473 
478 #define LIBXML_ATTR_FORMAT(fmt,args)
479 #endif /* __GNUC__ */
480 
481 #ifdef __cplusplus
482 }
483 #endif /* __cplusplus */
484 #endif
485 
486 
#define XMLPUBFUN
Definition: xmlexports.h:30
XMLPUBFUN void XMLCALL xmlCheckVersion(int version)
static const WCHAR version[]
Definition: asmname.c:64
#define XMLCALL