2 * xsltwin32config.h: compile-time version informations for the XSLT engine
3 * when compiled on windows
5 * See Copyright for the status of this software.
10 #ifndef __XML_XSLTWIN32CONFIG_H__
11 #define __XML_XSLTWIN32CONFIG_H__
13 #include "win32config.h"
20 * LIBXSLT_DOTTED_VERSION:
22 * the version string like "1.2.3"
24 #define LIBXSLT_DOTTED_VERSION "1.0.32"
29 * the version number: 1.2.3 value is 1002003
31 #define LIBXSLT_VERSION 10032
34 * LIBXSLT_VERSION_STRING:
36 * the version number string, 1.2.3 value is "1002003"
38 #define LIBXSLT_VERSION_STRING "10032"
43 * Activate the compilation of the debug reporting. Speed penalty
44 * is insignifiant and being able to run xsltpoc -v is useful. On
48 #define WITH_XSLT_DEBUG
55 * should be activated only when debugging libxslt. It replaces the
56 * allocator with a collect and debug shell to the libc allocator.
57 * Use configure --with-mem-debug to activate it on both library
62 * DEBUG_MEMORY_LOCATION:
64 * should be activated only when debugging libxslt.
65 * DEBUG_MEMORY_LOCATION should be activated only when libxml has
66 * been configured with --with-debug-mem too
68 #define DEBUG_MEMORY_LOCATION
74 * This macro is used to flag unused function parameters to GCC, useless here
76 #ifndef ATTRIBUTE_UNUSED
77 #define ATTRIBUTE_UNUSED
83 * This macro is needed on Win32 when using MSVC. It enables the client code
84 * to access exported variables. It should expand to nothing when compiling
85 * this library itself, but must expand to __declspec(dllimport) when a
86 * client includes the library header and that only if it links dynamically
87 * against this library.
89 #if !defined LIBXSLT_PUBLIC
90 #if defined _MSC_VER && !defined IN_LIBXSLT && !defined LIBXSLT_STATIC
91 #define LIBXSLT_PUBLIC __declspec(dllimport)
93 #define LIBXSLT_PUBLIC
101 #endif /* __XML_XSLTWIN32CONFIG_H__ */