blob: 7972c98fbf6c6806545baaf88fb1577fdda0daa1 [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 Veillardc5d64342001-06-24 12:13:24 +000021#define LIBXML_DOTTED_VERSION "@VERSION@"
22#define LIBXML_VERSION @LIBXML_VERSION_NUMBER@
23#define LIBXML_VERSION_STRING "@LIBXML_VERSION_NUMBER@"
24#define LIBXML_TEST_VERSION xmlCheckVersion(@LIBXML_VERSION_NUMBER@);
Daniel Veillardf7f41852001-06-22 15:18:01 +000025
26/**
27 * WITH_TRIO:
28 *
29 * Whether the trio support need to be configured in
30 */
31#if 0
32#define WITH_TRIO
33#else
34#define WITHOUT_TRIO
35#endif
36
37/**
38 * LIBXML_FTP_ENABLED:
39 *
40 * Whether the FTP support is configured in
41 */
42#if 1
43#define LIBXML_FTP_ENABLED
44#else
45#define LIBXML_FTP_DISABLED
46#endif
47
48/**
49 * LIBXML_HTTP_ENABLED:
50 *
51 * Whether the HTTP support is configured in
52 */
53#if 1
54#define LIBXML_HTTP_ENABLED
55#else
56#define LIBXML_HTTP_DISABLED
57#endif
58
59/**
60 * LIBXML_HTML_ENABLED:
61 *
62 * Whether the HTML support is configured in
63 */
64#if 1
65#define LIBXML_HTML_ENABLED
66#else
67#define LIBXML_HTML_DISABLED
68#endif
69
70/**
71 * LIBXML_CATALOG_ENABLED:
72 *
73 * Whether the Catalog support is configured in
74 */
75#if 1
76#define LIBXML_CATALOG_ENABLED
77#else
78#define LIBXML_CATALOG_DISABLED
79#endif
80
81/**
82 * LIBXML_DOCB_ENABLED:
83 *
84 * Whether the SGML Docbook support is configured in
85 */
Daniel Veillardc5d64342001-06-24 12:13:24 +000086#if 0
Daniel Veillardf7f41852001-06-22 15:18:01 +000087#define LIBXML_DOCB_ENABLED
88#else
89#define LIBXML_DOCB_DISABLED
90#endif
91
92/**
93 * LIBXML_XPATH_ENABLED:
94 *
95 * Whether XPath is configured in
96 */
97#if 1
98#define LIBXML_XPATH_ENABLED
99#else
100#define LIBXML_XPATH_DISABLED
101#endif
102
103/**
104 * LIBXML_XPTR_ENABLED:
105 *
106 * Whether XPointer is configured in
107 */
108#if 1
109#define LIBXML_XPTR_ENABLED
110#else
111#define LIBXML_XPTR_DISABLED
112#endif
113
114/**
115 * LIBXML_XINCLUDE_ENABLED:
116 *
117 * Whether XInclude is configured in
118 */
119#if 1
120#define LIBXML_XINCLUDE_ENABLED
121#else
122#define LIBXML_XINCLUDE_DISABLED
123#endif
124
125/**
126 * LIBXML_ICONV_ENABLED:
127 *
128 * Whether iconv support is available
129 */
Daniel Veillardc5d64342001-06-24 12:13:24 +0000130#if defined(__CYGWIN__)
131#if @WITH_ICONV@
Daniel Veillardf7f41852001-06-22 15:18:01 +0000132#define LIBXML_ICONV_ENABLED
133#else
134#define LIBXML_ICONV_DISABLED
135#endif
136#endif
137
138/**
139 * LIBXML_DEBUG_ENABLED:
140 *
141 * Whether Debugging module is configured in
142 */
143#if 1
144#define LIBXML_DEBUG_ENABLED
145#else
146#define LIBXML_DEBUG_DISABLED
147#endif
148
149/**
150 * DEBUG_MEMORY_LOCATION:
151 *
152 * Whether the memory debugging is configured in
153 */
Daniel Veillard07385fd2001-06-23 21:55:48 +0000154#if 0
Daniel Veillardf7f41852001-06-22 15:18:01 +0000155#define DEBUG_MEMORY_LOCATION
156#endif
157
158#ifndef LIBXML_DLL_IMPORT
Daniel Veillardc5d64342001-06-24 12:13:24 +0000159#if !defined(STATIC)
Daniel Veillardf7f41852001-06-22 15:18:01 +0000160#define LIBXML_DLL_IMPORT __declspec(dllimport)
161#else
162#define LIBXML_DLL_IMPORT
163#endif
164#endif
165
166/**
167 * ATTRIBUTE_UNUSED:
168 *
169 * Macro used to signal to GCC unused function parameters
Daniel Veillardc5d64342001-06-24 12:13:24 +0000170 * Disabled on Windows, this is checked on Linux.
Daniel Veillardf7f41852001-06-22 15:18:01 +0000171 */
Daniel Veillardf7f41852001-06-22 15:18:01 +0000172#define ATTRIBUTE_UNUSED
Daniel Veillardf7f41852001-06-22 15:18:01 +0000173
174#ifdef __cplusplus
175}
176#endif /* __cplusplus */
177#endif
178
179