summaryrefslogtreecommitdiff
path: root/libxslt/xsltconfig.h.in
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2008-06-12 09:43:28 +0000
committerDaniel Veillard <veillard@src.gnome.org>2008-06-12 09:43:28 +0000
commit80353190270f6b742aea1969cb1d1de899764fb1 (patch)
tree588593217d4f047d2c5ae209bac9545058a41ed3 /libxslt/xsltconfig.h.in
parent7d1f6c338ee0305c4b15323618cb4ff293f59227 (diff)
downloadlibxslt-80353190270f6b742aea1969cb1d1de899764fb1.tar.gz
patch from Nick Wellnhofer and Roumen Petrov to fix some portability
* libxslt/xsltconfig.h.in libxslt/xsltlocale.h configure.in config.h.in win32/configure.js: patch from Nick Wellnhofer and Roumen Petrov to fix some portability problems on the previous xsl:sort locale patch Daniel svn path=/trunk/; revision=1478
Diffstat (limited to 'libxslt/xsltconfig.h.in')
-rw-r--r--libxslt/xsltconfig.h.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/libxslt/xsltconfig.h.in b/libxslt/xsltconfig.h.in
index a8b5acfb..e9a3c56c 100644
--- a/libxslt/xsltconfig.h.in
+++ b/libxslt/xsltconfig.h.in
@@ -124,6 +124,19 @@ extern "C" {
#endif
/**
+ * Locale support
+ */
+#if @XSLT_LOCALE_XLOCALE@
+#ifndef XSLT_LOCALE_XLOCALE
+#define XSLT_LOCALE_XLOCALE
+#endif
+#elif @XSLT_LOCALE_MSVCRT@
+#ifndef XSLT_LOCALE_MSVCRT
+#define XSLT_LOCALE_MSVCRT
+#endif
+#endif
+
+/**
* ATTRIBUTE_UNUSED:
*
* This macro is used to flag unused function parameters to GCC