diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2008-06-12 09:43:28 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2008-06-12 09:43:28 +0000 |
commit | 80353190270f6b742aea1969cb1d1de899764fb1 (patch) | |
tree | 588593217d4f047d2c5ae209bac9545058a41ed3 /libxslt/xsltconfig.h.in | |
parent | 7d1f6c338ee0305c4b15323618cb4ff293f59227 (diff) | |
download | libxslt-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.in | 13 |
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 |