OLD | NEW |
1 /* | 1 /* |
2 * Summary: compile-time version informations | 2 * Summary: compile-time version informations |
3 * Description: compile-time version informations for the XML library | 3 * Description: compile-time version informations for the XML library |
4 * | 4 * |
5 * Copy: See Copyright for the status of this software. | 5 * Copy: See Copyright for the status of this software. |
6 * | 6 * |
7 * Author: Daniel Veillard | 7 * Author: Daniel Veillard |
8 */ | 8 */ |
9 | 9 |
10 #ifndef __XML_VERSION_H__ | 10 #ifndef __XML_VERSION_H__ |
(...skipping 11 matching lines...) Expand all Loading... |
22 */ | 22 */ |
23 #ifndef LIBXML2_COMPILING_MSCCDEF | 23 #ifndef LIBXML2_COMPILING_MSCCDEF |
24 XMLPUBFUN void XMLCALL xmlCheckVersion(int version); | 24 XMLPUBFUN void XMLCALL xmlCheckVersion(int version); |
25 #endif /* LIBXML2_COMPILING_MSCCDEF */ | 25 #endif /* LIBXML2_COMPILING_MSCCDEF */ |
26 | 26 |
27 /** | 27 /** |
28 * LIBXML_DOTTED_VERSION: | 28 * LIBXML_DOTTED_VERSION: |
29 * | 29 * |
30 * the version string like "1.2.3" | 30 * the version string like "1.2.3" |
31 */ | 31 */ |
32 #define LIBXML_DOTTED_VERSION "2.7.7" | 32 #define LIBXML_DOTTED_VERSION "2.9.2" |
33 | 33 |
34 /** | 34 /** |
35 * LIBXML_VERSION: | 35 * LIBXML_VERSION: |
36 * | 36 * |
37 * the version number: 1.2.3 value is 10203 | 37 * the version number: 1.2.3 value is 10203 |
38 */ | 38 */ |
39 #define LIBXML_VERSION 20707 | 39 #define LIBXML_VERSION 20902 |
40 | 40 |
41 /** | 41 /** |
42 * LIBXML_VERSION_STRING: | 42 * LIBXML_VERSION_STRING: |
43 * | 43 * |
44 * the version number string, 1.2.3 value is "10203" | 44 * the version number string, 1.2.3 value is "10203" |
45 */ | 45 */ |
46 #define LIBXML_VERSION_STRING "20707" | 46 #define LIBXML_VERSION_STRING "20902" |
47 | 47 |
48 /** | 48 /** |
49 * LIBXML_VERSION_EXTRA: | 49 * LIBXML_VERSION_EXTRA: |
50 * | 50 * |
51 * extra version information, used to show a CVS compilation | 51 * extra version information, used to show a CVS compilation |
52 */ | 52 */ |
53 #define LIBXML_VERSION_EXTRA "" | 53 #define LIBXML_VERSION_EXTRA "" |
54 | 54 |
55 /** | 55 /** |
56 * LIBXML_TEST_VERSION: | 56 * LIBXML_TEST_VERSION: |
57 * | 57 * |
58 * Macro to check that the libxml version in use is compatible with | 58 * Macro to check that the libxml version in use is compatible with |
59 * the version the software has been compiled against | 59 * the version the software has been compiled against |
60 */ | 60 */ |
61 #define LIBXML_TEST_VERSION xmlCheckVersion(20707); | 61 #define LIBXML_TEST_VERSION xmlCheckVersion(20902); |
62 | 62 |
63 #ifndef VMS | 63 #ifndef VMS |
64 #if 0 | 64 #if 0 |
65 /** | 65 /** |
66 * WITH_TRIO: | 66 * WITH_TRIO: |
67 * | 67 * |
68 * defined if the trio support need to be configured in | 68 * defined if the trio support need to be configured in |
69 */ | 69 */ |
70 #define WITH_TRIO | 70 #define WITH_TRIO |
71 #else | 71 #else |
(...skipping 19 matching lines...) Expand all Loading... |
91 * Whether the thread support is configured in | 91 * Whether the thread support is configured in |
92 */ | 92 */ |
93 #if 1 | 93 #if 1 |
94 #if defined(_REENTRANT) || defined(__MT__) || \ | 94 #if defined(_REENTRANT) || defined(__MT__) || \ |
95 (defined(_POSIX_C_SOURCE) && (_POSIX_C_SOURCE - 0 >= 199506L)) | 95 (defined(_POSIX_C_SOURCE) && (_POSIX_C_SOURCE - 0 >= 199506L)) |
96 #define LIBXML_THREAD_ENABLED | 96 #define LIBXML_THREAD_ENABLED |
97 #endif | 97 #endif |
98 #endif | 98 #endif |
99 | 99 |
100 /** | 100 /** |
| 101 * LIBXML_THREAD_ALLOC_ENABLED: |
| 102 * |
| 103 * Whether the allocation hooks are per-thread |
| 104 */ |
| 105 #if 0 |
| 106 #define LIBXML_THREAD_ALLOC_ENABLED |
| 107 #endif |
| 108 |
| 109 /** |
101 * LIBXML_TREE_ENABLED: | 110 * LIBXML_TREE_ENABLED: |
102 * | 111 * |
103 * Whether the DOM like tree manipulation API support is configured in | 112 * Whether the DOM like tree manipulation API support is configured in |
104 */ | 113 */ |
105 #if 1 | 114 #if 1 |
106 #define LIBXML_TREE_ENABLED | 115 #define LIBXML_TREE_ENABLED |
107 #endif | 116 #endif |
108 | 117 |
109 /** | 118 /** |
110 * LIBXML_OUTPUT_ENABLED: | 119 * LIBXML_OUTPUT_ENABLED: |
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
384 | 393 |
385 /** | 394 /** |
386 * LIBXML_ZLIB_ENABLED: | 395 * LIBXML_ZLIB_ENABLED: |
387 * | 396 * |
388 * Whether the Zlib support is compiled in | 397 * Whether the Zlib support is compiled in |
389 */ | 398 */ |
390 #if 1 | 399 #if 1 |
391 #define LIBXML_ZLIB_ENABLED | 400 #define LIBXML_ZLIB_ENABLED |
392 #endif | 401 #endif |
393 | 402 |
| 403 /** |
| 404 * LIBXML_LZMA_ENABLED: |
| 405 * |
| 406 * Whether the Lzma support is compiled in |
| 407 */ |
| 408 #if 0 |
| 409 #define LIBXML_LZMA_ENABLED |
| 410 #endif |
| 411 |
394 #ifdef __GNUC__ | 412 #ifdef __GNUC__ |
395 #ifdef HAVE_ANSIDECL_H | 413 #ifdef HAVE_ANSIDECL_H |
396 #include <ansidecl.h> | 414 #include <ansidecl.h> |
397 #endif | 415 #endif |
398 | 416 |
399 /** | 417 /** |
400 * ATTRIBUTE_UNUSED: | 418 * ATTRIBUTE_UNUSED: |
401 * | 419 * |
402 * Macro used to signal to GCC unused function parameters | 420 * Macro used to signal to GCC unused function parameters |
403 */ | 421 */ |
404 | 422 |
405 #ifndef ATTRIBUTE_UNUSED | 423 #ifndef ATTRIBUTE_UNUSED |
406 #define ATTRIBUTE_UNUSED __attribute__((unused)) | 424 # if ((__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 7))) |
| 425 # define ATTRIBUTE_UNUSED __attribute__((unused)) |
| 426 # else |
| 427 # define ATTRIBUTE_UNUSED |
| 428 # endif |
407 #endif | 429 #endif |
408 | 430 |
409 /** | 431 /** |
410 * LIBXML_ATTR_ALLOC_SIZE: | 432 * LIBXML_ATTR_ALLOC_SIZE: |
411 * | 433 * |
412 * Macro used to indicate to GCC this is an allocator function | 434 * Macro used to indicate to GCC this is an allocator function |
413 */ | 435 */ |
414 | 436 |
415 #ifndef LIBXML_ATTR_ALLOC_SIZE | 437 #ifndef LIBXML_ATTR_ALLOC_SIZE |
416 # if ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 3))) | 438 # if ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 3))) |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
458 */ | 480 */ |
459 #define LIBXML_ATTR_FORMAT(fmt,args) | 481 #define LIBXML_ATTR_FORMAT(fmt,args) |
460 #endif /* __GNUC__ */ | 482 #endif /* __GNUC__ */ |
461 | 483 |
462 #ifdef __cplusplus | 484 #ifdef __cplusplus |
463 } | 485 } |
464 #endif /* __cplusplus */ | 486 #endif /* __cplusplus */ |
465 #endif | 487 #endif |
466 | 488 |
467 | 489 |
OLD | NEW |