xmlwin32version.h

00001 /*
00002 
00003  * Summary: compile-time version informations on Windows
00004 
00005  * Description: compile-time version informations for the XML library
00006 
00007  *              when compiled on the Windows platform
00008 
00009  *
00010 
00011  * Copy: See Copyright for the status of this software.
00012 
00013  *
00014 
00015  * Author: Daniel Veillard
00016 
00017  */
00018 
00019 
00020 
00021 #ifndef __XML_VERSION_H__
00022 
00023 #define __XML_VERSION_H__
00024 
00025 
00026 
00027 #ifdef __cplusplus
00028 
00029 extern "C" {
00030 
00031 #endif
00032 
00033 
00034 
00035 /*
00036 
00037  * use those to be sure nothing nasty will happen if
00038 
00039  * your library and includes mismatch
00040 
00041  */
00042 
00043 #ifndef LIBXML2_COMPILING_MSCCDEF
00044 
00045 extern void xmlCheckVersion(int version);
00046 
00047 #endif /* LIBXML2_COMPILING_MSCCDEF */
00048 
00049 
00050 
00061 #define LIBXML_DOTTED_VERSION "2.4.26"
00062 
00063 
00064 
00075 #define LIBXML_VERSION 20426
00076 
00077 
00078 
00089 #define LIBXML_VERSION_STRING "20426"
00090 
00091 
00092 
00105 #define LIBXML_TEST_VERSION xmlCheckVersion(20426);
00106 
00107 
00108 
00109 #if 0
00110 
00121 #define WITH_TRIO
00122 
00123 #else
00124 
00135 #define WITHOUT_TRIO
00136 
00137 #endif
00138 
00139 
00140 
00151 #if 0
00152 
00153 #define LIBXML_THREAD_ENABLED
00154 
00155 #endif
00156 
00157 
00158 
00169 #if 1
00170 
00171 #define LIBXML_FTP_ENABLED
00172 
00173 #endif
00174 
00175 
00176 
00187 #if 1
00188 
00189 #define LIBXML_HTTP_ENABLED
00190 
00191 #endif
00192 
00193 
00194 
00205 #if 1
00206 
00207 #define LIBXML_HTML_ENABLED
00208 
00209 #endif
00210 
00211 
00212 
00223 #if 1
00224 
00225 #define LIBXML_CATALOG_ENABLED
00226 
00227 #endif
00228 
00229 
00230 
00241 #if 1
00242 
00243 #define LIBXML_DOCB_ENABLED
00244 
00245 #endif
00246 
00247 
00248 
00259 #if 1
00260 
00261 #define LIBXML_XPATH_ENABLED
00262 
00263 #endif
00264 
00265 
00266 
00277 #if 1
00278 
00279 #define LIBXML_XPTR_ENABLED
00280 
00281 #endif
00282 
00283 
00284 
00295 #if 0
00296 
00297 #define LIBXML_C14N_ENABLED
00298 
00299 #endif
00300 
00301 
00302 
00313 #if 1
00314 
00315 #define LIBXML_XINCLUDE_ENABLED
00316 
00317 #endif
00318 
00319 
00320 
00331 #if 0
00332 
00333 #define LIBXML_ICONV_ENABLED
00334 
00335 #endif
00336 
00337 
00338 
00349 #if 1
00350 
00351 #define LIBXML_DEBUG_ENABLED
00352 
00353 #endif
00354 
00355 
00356 
00367 #if 0
00368 
00369 #define DEBUG_MEMORY_LOCATION
00370 
00371 #endif
00372 
00373 
00374 
00405 #ifndef LIBXML_DLL_IMPORT
00406 
00407 #if defined(_MSC_VER) && !defined(IN_LIBXML) && !defined(LIBXML_STATIC)
00408 
00409 #define LIBXML_DLL_IMPORT __declspec(dllimport)
00410 
00411 #else
00412 
00413 #define LIBXML_DLL_IMPORT
00414 
00415 #endif
00416 
00417 #endif
00418 
00419 
00420 
00431 #ifdef __GNUC__
00432 
00433 #ifdef HAVE_ANSIDECL_H
00434 
00435 #include <ansidecl.h>
00436 
00437 #endif
00438 
00439 #ifndef ATTRIBUTE_UNUSED
00440 
00441 #define ATTRIBUTE_UNUSED
00442 
00443 #endif
00444 
00445 #else
00446 
00447 #define ATTRIBUTE_UNUSED
00448 
00449 #endif
00450 
00451 
00452 
00453 /*
00454 
00455  * #pragma comment(lib, "iconv.lib")
00456 
00457  *
00458 
00459  * pragma understood my MS compiler which enables a conditional link with
00460 
00461  * iconv.
00462 
00463  */
00464 
00465 #ifdef _MSC_VER
00466 
00467 #if defined LIBXML_ICONV_ENABLED && !defined LIBXML2_COMPILING_MSCCDEF
00468 
00469 #pragma comment(lib, "iconv.lib")
00470 
00471 #endif
00472 
00473 #endif
00474 
00475 
00476 
00477 #ifdef __cplusplus
00478 
00479 }
00480 
00481 #endif /* __cplusplus */
00482 
00483 #endif
00484 

Generated on Wed Jul 26 13:30:47 2006 for XSB by  doxygen 1.4.5