Annotation of win32/gnome/libxslt-x.x.x/libexslt/exsltconfig.h, revision 1.1
1.1 ! paf 1: /*
! 2: * exsltconfig.h: compile-time version informations for the EXSLT library
! 3: *
! 4: * See Copyright for the status of this software.
! 5: *
! 6: * daniel@veillard.com
! 7: */
! 8:
! 9: #ifndef __XML_EXSLTCONFIG_H__
! 10: #define __XML_EXSLTCONFIG_H__
! 11:
! 12: #ifdef __cplusplus
! 13: extern "C" {
! 14: #endif
! 15:
! 16: /**
! 17: * LIBEXSLT_DOTTED_VERSION:
! 18: *
! 19: * the version string like "1.2.3"
! 20: */
! 21: #define LIBEXSLT_DOTTED_VERSION "1.0.9"
! 22:
! 23: /**
! 24: * LIBEXSLT_VERSION:
! 25: *
! 26: * the version number: 1.2.3 value is 1002003
! 27: */
! 28: #define LIBEXSLT_VERSION 702
! 29:
! 30: /**
! 31: * LIBEXSLT_VERSION_STRING:
! 32: *
! 33: * the version number string, 1.2.3 value is "1002003"
! 34: */
! 35: #define LIBEXSLT_VERSION_STRING "702"
! 36:
! 37: /**
! 38: * ATTRIBUTE_UNUSED:
! 39: *
! 40: * This macro is used to flag unused function parameters to GCC
! 41: */
! 42: #ifdef __GNUC__
! 43: #ifdef HAVE_ANSIDECL_H
! 44: #include <ansidecl.h>
! 45: #endif
! 46: #ifndef ATTRIBUTE_UNUSED
! 47: #define ATTRIBUTE_UNUSED
! 48: #endif
! 49: #else
! 50: #define ATTRIBUTE_UNUSED
! 51: #endif
! 52:
! 53: /**
! 54: * LIBEXSLT_PUBLIC:
! 55: *
! 56: * This macro is needed on Win32 when using MSVC. It enables the client code
! 57: * to access exported variables. It should expand to nothing when compiling
! 58: * this library itself, but must expand to __declspec(dllimport) when a
! 59: * client includes the library header and that only if it links dynamically
! 60: * against this library.
! 61: */
! 62: #if !defined LIBEXSLT_PUBLIC
! 63: #if defined _MSC_VER && !defined IN_LIBEXSLT && !defined LIBEXSLT_STATIC
! 64: #define LIBEXSLT_PUBLIC __declspec(dllimport)
! 65: #else
! 66: #define LIBEXSLT_PUBLIC
! 67: #endif
! 68: #endif
! 69:
! 70: #ifdef __cplusplus
! 71: }
! 72: #endif
! 73:
! 74: #endif /* __XML_EXSLTCONFIG_H__ */
E-mail: