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