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.4"
29 * the version number: 1.2.3 value is 1002003
31 #define LIBXSLT_VERSION 10004
34 * LIBXSLT_VERSION_STRING:
36 * the version number string, 1.2.3 value is "1002003"
38 #define LIBXSLT_VERSION_STRING "10004"
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
54 * This macro is used to flag unused function parameters to GCC, useless here
56 #ifndef ATTRIBUTE_UNUSED
57 #define ATTRIBUTE_UNUSED
63 * This macro is needed on Win32 when using MSVC. It enables the client code
64 * to access exported variables. It should expand to nothing when compiling
65 * this library itself, but must expand to __declspec(dllimport) when a
66 * client includes the library header and that only if it links dynamically
67 * against this library.
69 #if !defined LIBXSLT_PUBLIC
70 #if defined _MSC_VER && !defined IN_LIBXSLT && !defined LIBXSLT_STATIC
71 #define LIBXSLT_PUBLIC __declspec(dllimport)
73 #define LIBXSLT_PUBLIC
81 #endif /* __XML_XSLTWIN32CONFIG_H__ */