blob: 4ba3bb16f10e93ef1d337ceeb77dcdd5c6d36dc3 [file] [log] [blame]
Daniel Veillardf7f41852001-06-22 15:18:01 +00001/*
Daniel Veillardc5d64342001-06-24 12:13:24 +00002 * xmlwin32version.h : compile-time version informations for the XML parser
3 * when compiled on the Windows platform
Daniel Veillardf7f41852001-06-22 15:18:01 +00004 *
5 * See Copyright for the status of this software.
6 *
Daniel Veillardc5d64342001-06-24 12:13:24 +00007 * daniel@veillard.com
Daniel Veillardf7f41852001-06-22 15:18:01 +00008 */
9
10#ifndef __XML_VERSION_H__
11#define __XML_VERSION_H__
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17/*
18 * use those to be sure nothing nasty will happen if
19 * your library and includes mismatch
20 */
Daniel Veillard05dec342001-07-14 21:57:39 +000021extern void xmlCheckVersion(int version);
Daniel Veillardc5d64342001-06-24 12:13:24 +000022#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 Veillardf7f41852001-06-22 15:18:01 +000026
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 Veillardc5d64342001-06-24 12:13:24 +000087#if 0
Daniel Veillardf7f41852001-06-22 15:18:01 +000088#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 Veillardc5d64342001-06-24 12:13:24 +0000131#if defined(__CYGWIN__)
132#if @WITH_ICONV@
Daniel Veillardf7f41852001-06-22 15:18:01 +0000133#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 Veillard07385fd2001-06-23 21:55:48 +0000155#if 0
Daniel Veillardf7f41852001-06-22 15:18:01 +0000156#define DEBUG_MEMORY_LOCATION
157#endif
158
159#ifndef LIBXML_DLL_IMPORT
Daniel Veillardc5d64342001-06-24 12:13:24 +0000160#if !defined(STATIC)
Daniel Veillardf7f41852001-06-22 15:18:01 +0000161#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 Veillardc5d64342001-06-24 12:13:24 +0000171 * Disabled on Windows, this is checked on Linux.
Daniel Veillardf7f41852001-06-22 15:18:01 +0000172 */
Daniel Veillardf7f41852001-06-22 15:18:01 +0000173#define ATTRIBUTE_UNUSED
Daniel Veillardf7f41852001-06-22 15:18:01 +0000174
175#ifdef __cplusplus
176}
177#endif /* __cplusplus */
178#endif
179
180