ReactOS 0.4.15-dev-7907-g95bf896
xmlversion.h
Go to the documentation of this file.
1/*
2 * Summary: compile-time version information
3 * Description: compile-time version information 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
16extern "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.10.1"
33
39#define LIBXML_VERSION 21001
40
46#define LIBXML_VERSION_STRING "21001"
47
53#define LIBXML_VERSION_EXTRA "-GITv2.10.0-11-g5d96a5ded"
54
61#define LIBXML_TEST_VERSION xmlCheckVersion(21001);
62
63#ifndef VMS
64#if 0
70#define WITH_TRIO
71#else
77#define WITHOUT_TRIO
78#endif
79#else /* VMS */
85#define WITH_TRIO 1
86#endif /* VMS */
87
93#if 1
94#define LIBXML_THREAD_ENABLED
95#endif
96
102#if 0
103#define LIBXML_THREAD_ALLOC_ENABLED
104#endif
105
111#if 1
112#define LIBXML_TREE_ENABLED
113#endif
114
120#if 1
121#define LIBXML_OUTPUT_ENABLED
122#endif
123
129#if 1
130#define LIBXML_PUSH_ENABLED
131#endif
132
138#if 1
139#define LIBXML_READER_ENABLED
140#endif
141
147#if 1
148#define LIBXML_PATTERN_ENABLED
149#endif
150
156#if 1
157#define LIBXML_WRITER_ENABLED
158#endif
159
165#if 1
166#define LIBXML_SAX1_ENABLED
167#endif
168
174#if 0
175#define LIBXML_FTP_ENABLED
176#endif
177
183#if 1
184#define LIBXML_HTTP_ENABLED
185#endif
186
192#if 1
193#define LIBXML_VALID_ENABLED
194#endif
195
201#if 1
202#define LIBXML_HTML_ENABLED
203#endif
204
210#if 0
211#define LIBXML_LEGACY_ENABLED
212#endif
213
219#if 1
220#define LIBXML_C14N_ENABLED
221#endif
222
228#if 1
229#define LIBXML_CATALOG_ENABLED
230#endif
231
237#if 1
238#define LIBXML_XPATH_ENABLED
239#endif
240
246#if 1
247#define LIBXML_XPTR_ENABLED
248#endif
249
255#if 0
256#define LIBXML_XPTR_LOCS_ENABLED
257#endif
258
264#if 1
265#define LIBXML_XINCLUDE_ENABLED
266#endif
267
273#if 1
274#define LIBXML_ICONV_ENABLED
275#endif
276
282#if 0
283#define LIBXML_ICU_ENABLED
284#endif
285
291#if 1
292#define LIBXML_ISO8859X_ENABLED
293#endif
294
300#if 1
301#define LIBXML_DEBUG_ENABLED
302#endif
303
309#if 0
310#define DEBUG_MEMORY_LOCATION
311#endif
312
318#if 0
319#define LIBXML_DEBUG_RUNTIME
320#endif
321
327#if 1
328#define LIBXML_UNICODE_ENABLED
329#endif
330
336#if 1
337#define LIBXML_REGEXP_ENABLED
338#endif
339
345#if 1
346#define LIBXML_AUTOMATA_ENABLED
347#endif
348
356#if 0
357#define LIBXML_EXPR_ENABLED
358#endif
359
365#if 1
366#define LIBXML_SCHEMAS_ENABLED
367#endif
368
374#if 1
375#define LIBXML_SCHEMATRON_ENABLED
376#endif
377
383#if 1
384#define LIBXML_MODULES_ENABLED
390#define LIBXML_MODULE_EXTENSION ".dll"
391#endif
392
398#if 1
399#define LIBXML_ZLIB_ENABLED
400#endif
401
407#if 0
408#define LIBXML_LZMA_ENABLED
409#endif
410
411#ifdef __GNUC__
412
419#ifndef ATTRIBUTE_UNUSED
420# if ((__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 7)))
421# define ATTRIBUTE_UNUSED __attribute__((unused))
422# else
423# define ATTRIBUTE_UNUSED
424# endif
425#endif
426
433#ifndef LIBXML_ATTR_ALLOC_SIZE
434# if (!defined(__clang__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 3))))
435# define LIBXML_ATTR_ALLOC_SIZE(x) __attribute__((alloc_size(x)))
436# else
437# define LIBXML_ATTR_ALLOC_SIZE(x)
438# endif
439#else
440# define LIBXML_ATTR_ALLOC_SIZE(x)
441#endif
442
449#ifndef LIBXML_ATTR_FORMAT
450# if ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)))
451# define LIBXML_ATTR_FORMAT(fmt,args) __attribute__((__format__(__printf__,fmt,args)))
452# else
453# define LIBXML_ATTR_FORMAT(fmt,args)
454# endif
455#else
456# define LIBXML_ATTR_FORMAT(fmt,args)
457#endif
458
459#ifndef XML_DEPRECATED
460# ifdef IN_LIBXML
461# define XML_DEPRECATED
462# else
463/* Available since at least GCC 3.1 */
464# define XML_DEPRECATED __attribute__((deprecated))
465# endif
466#endif
467
468#else /* ! __GNUC__ */
474#define ATTRIBUTE_UNUSED
480#define LIBXML_ATTR_ALLOC_SIZE(x)
486#define LIBXML_ATTR_FORMAT(fmt,args)
493#ifndef XML_DEPRECATED
494#define XML_DEPRECATED
495#endif
496#endif /* __GNUC__ */
497
498#ifdef __cplusplus
499}
500#endif /* __cplusplus */
501#endif
502
503
static const WCHAR version[]
Definition: asmname.c:66
#define XMLCALL
#define XMLPUBFUN
Definition: xmlexports.h:61
XMLPUBFUN void XMLCALL xmlCheckVersion(int version)