Annotation of win32/gnome/libxslt-x.x.x/libxslt/xsltwin32config.h, revision 1.1
1.1 ! paf 1: /*
! 2: * xsltwin32config.h: compile-time version informations for the XSLT engine
! 3: * when compiled on windows
! 4: *
! 5: * See Copyright for the status of this software.
! 6: *
! 7: * daniel@veillard.com
! 8: */
! 9:
! 10: #ifndef __XML_XSLTWIN32CONFIG_H__
! 11: #define __XML_XSLTWIN32CONFIG_H__
! 12:
! 13: #include <win32config.h>
! 14:
! 15: #ifdef __cplusplus
! 16: extern "C" {
! 17: #endif
! 18:
! 19: /**
! 20: * LIBXSLT_DOTTED_VERSION:
! 21: *
! 22: * the version string like "1.2.3"
! 23: */
! 24: #define LIBXSLT_DOTTED_VERSION "1.0.9"
! 25:
! 26: /**
! 27: * LIBXSLT_VERSION:
! 28: *
! 29: * the version number: 1.2.3 value is 1002003
! 30: */
! 31: #define LIBXSLT_VERSION 10009
! 32:
! 33: /**
! 34: * LIBXSLT_VERSION_STRING:
! 35: *
! 36: * the version number string, 1.2.3 value is "1002003"
! 37: */
! 38: #define LIBXSLT_VERSION_STRING "10009"
! 39:
! 40: /**
! 41: * WITH_XSLT_DEBUG:
! 42: *
! 43: * Activate the compilation of the debug reporting. Speed penalty
! 44: * is insignifiant and being able to run xsltpoc -v is useful. On
! 45: * by default
! 46: */
! 47: #if 1
! 48: #define WITH_XSLT_DEBUG
! 49: #endif
! 50:
! 51: #if 0
! 52: /**
! 53: * DEBUG_MEMORY:
! 54: *
! 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
! 58: */
! 59: #define DEBUG_MEMORY
! 60:
! 61: /**
! 62: * DEBUG_MEMORY_LOCATION:
! 63: *
! 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
! 67: */
! 68: #define DEBUG_MEMORY_LOCATION
! 69: #endif
! 70:
! 71: /**
! 72: * ATTRIBUTE_UNUSED:
! 73: *
! 74: * This macro is used to flag unused function parameters to GCC, useless here
! 75: */
! 76: #ifndef ATTRIBUTE_UNUSED
! 77: #define ATTRIBUTE_UNUSED
! 78: #endif
! 79:
! 80: /**
! 81: * LIBXSLT_PUBLIC:
! 82: *
! 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.
! 88: */
! 89: #if !defined LIBXSLT_PUBLIC
! 90: #if defined _MSC_VER && !defined IN_LIBXSLT && !defined LIBXSLT_STATIC
! 91: #define LIBXSLT_PUBLIC __declspec(dllimport)
! 92: #else
! 93: #define LIBXSLT_PUBLIC
! 94: #endif
! 95: #endif
! 96:
! 97: #ifdef __cplusplus
! 98: }
! 99: #endif
! 100:
! 101: #endif /* __XML_XSLTWIN32CONFIG_H__ */
E-mail: