diff options
author | Nick Wellnhofer <wellnhofer@aevum.de> | 2017-10-08 14:34:06 +0200 |
---|---|---|
committer | Nick Wellnhofer <wellnhofer@aevum.de> | 2017-10-08 15:36:21 +0200 |
commit | 8b4babb8f742a1a189df4c4569e68eda308df68f (patch) | |
tree | 1251ec94e762175d5f73c44c5519d496b4868901 /libxslt/xsltconfig.h.in | |
parent | 43b6edbfafb73edd23f2040cfba119cd4a833f8f (diff) | |
download | libxslt-8b4babb8f742a1a189df4c4569e68eda308df68f.tar.gz |
Rework locale feature tests
Support glibc 2.26 which removes xlocale.h. Fixes bug 788264. Thanks to
Quentin Minster for the report.
Drop support for ancient glibc 2.2.x. This allows to replace the test
program in configure.ac with a simple check for strxfrm_l.
Always use WinAPI locales on Windows.
Define macros in xsltlocale.h and rename XSLT_LOCALE_XLOCALE to
XSLT_LOCALE_POSIX.
Diffstat (limited to 'libxslt/xsltconfig.h.in')
-rw-r--r-- | libxslt/xsltconfig.h.in | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/libxslt/xsltconfig.h.in b/libxslt/xsltconfig.h.in index 6e4e3285..5fa5e589 100644 --- a/libxslt/xsltconfig.h.in +++ b/libxslt/xsltconfig.h.in @@ -124,19 +124,6 @@ extern "C" { #endif /** - * Locale support - */ -#if @XSLT_LOCALE_XLOCALE@ -#ifndef XSLT_LOCALE_XLOCALE -#define XSLT_LOCALE_XLOCALE -#endif -#elif @XSLT_LOCALE_WINAPI@ -#ifndef XSLT_LOCALE_WINAPI -#define XSLT_LOCALE_WINAPI -#endif -#endif - -/** * ATTRIBUTE_UNUSED: * * This macro is used to flag unused function parameters to GCC |