LTKCPP-- LLRP Toolkit C Plus Plus Library
xmlversion.h
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
24 XMLPUBFUN void XMLCALL xmlCheckVersion(int version);
25 #endif /* LIBXML2_COMPILING_MSCCDEF */
26 
32 #define LIBXML_DOTTED_VERSION "2.7.4"
33 
39 #define LIBXML_VERSION 20704
40 
46 #define LIBXML_VERSION_STRING "20704"
47 
53 #define LIBXML_VERSION_EXTRA ""
54 
61 #define LIBXML_TEST_VERSION xmlCheckVersion(20704);
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 0
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_TREE_ENABLED
107 #endif
108 
114 #if 0
115 #define LIBXML_OUTPUT_ENABLED
116 #endif
117 
123 #if 0
124 #define LIBXML_PUSH_ENABLED
125 #endif
126 
132 #if 0
133 #define LIBXML_READER_ENABLED
134 #endif
135 
141 #if 0
142 #define LIBXML_PATTERN_ENABLED
143 #endif
144 
150 #if 0
151 #define LIBXML_WRITER_ENABLED
152 #endif
153 
159 #if 0
160 #define LIBXML_SAX1_ENABLED
161 #endif
162 
168 #if 0
169 #define LIBXML_FTP_ENABLED
170 #endif
171 
177 #if 0
178 #define LIBXML_HTTP_ENABLED
179 #endif
180 
186 #if 0
187 #define LIBXML_VALID_ENABLED
188 #endif
189 
195 #if 0
196 #define LIBXML_HTML_ENABLED
197 #endif
198 
204 #if 0
205 #define LIBXML_LEGACY_ENABLED
206 #endif
207 
213 #if 0
214 #define LIBXML_C14N_ENABLED
215 #endif
216 
222 #if 0
223 #define LIBXML_CATALOG_ENABLED
224 #endif
225 
231 #if 0
232 #define LIBXML_DOCB_ENABLED
233 #endif
234 
240 #if 0
241 #define LIBXML_XPATH_ENABLED
242 #endif
243 
249 #if 0
250 #define LIBXML_XPTR_ENABLED
251 #endif
252 
258 #if 0
259 #define LIBXML_XINCLUDE_ENABLED
260 #endif
261 
267 #if 0
268 #define LIBXML_ICONV_ENABLED
269 #endif
270 
276 #if 0
277 #define LIBXML_ISO8859X_ENABLED
278 #endif
279 
285 #if 0
286 #define LIBXML_DEBUG_ENABLED
287 #endif
288 
294 #if 0
295 #define DEBUG_MEMORY_LOCATION
296 #endif
297 
303 #if 0
304 #define LIBXML_DEBUG_RUNTIME
305 #endif
306 
312 #if 0
313 #define LIBXML_UNICODE_ENABLED
314 #endif
315 
321 #if 0
322 #define LIBXML_REGEXP_ENABLED
323 #endif
324 
330 #if 0
331 #define LIBXML_AUTOMATA_ENABLED
332 #endif
333 
339 #if 0
340 #define LIBXML_EXPR_ENABLED
341 #endif
342 
348 #if 0
349 #define LIBXML_SCHEMAS_ENABLED
350 #endif
351 
357 #if 0
358 #define LIBXML_SCHEMATRON_ENABLED
359 #endif
360 
366 #if 0
367 #define LIBXML_MODULES_ENABLED
368 
373 #define LIBXML_MODULE_EXTENSION ""
374 #endif
375 
381 #if 0
382 #define LIBXML_ZLIB_ENABLED
383 #endif
384 
385 #ifdef __GNUC__
386 #ifdef HAVE_ANSIDECL_H
387 #include <ansidecl.h>
388 #endif
389 
396 #ifndef ATTRIBUTE_UNUSED
397 #define ATTRIBUTE_UNUSED __attribute__((unused))
398 #endif
399 
406 #ifndef LIBXML_ATTR_ALLOC_SIZE
407 # if ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 3)))
408 # define LIBXML_ATTR_ALLOC_SIZE(x) __attribute__((alloc_size(x)))
409 # else
410 # define LIBXML_ATTR_ALLOC_SIZE(x)
411 # endif
412 #else
413 # define LIBXML_ATTR_ALLOC_SIZE(x)
414 #endif
415 
422 #ifndef LIBXML_ATTR_FORMAT
423 # if ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)))
424 # define LIBXML_ATTR_FORMAT(fmt,args) __attribute__((__format__(__printf__,fmt,args)))
425 # else
426 # define LIBXML_ATTR_FORMAT(fmt,args)
427 # endif
428 #else
429 # define LIBXML_ATTR_FORMAT(fmt,args)
430 #endif
431 
432 #else /* ! __GNUC__ */
433 
438 #define ATTRIBUTE_UNUSED
439 
444 #define LIBXML_ATTR_ALLOC_SIZE(x)
445 
450 #define LIBXML_ATTR_FORMAT(fmt,args)
451 #endif /* __GNUC__ */
452 
453 #ifdef __cplusplus
454 }
455 #endif /* __cplusplus */
456 #endif
457 
458