vma-iter: Add support for Android.
[gnulib.git] / lib / unicase / u32-casexfrm.c
blobe75fccd712eec5d7c3a6b5e1df036ee308929488
1 /* Locale dependent transformation for case insensitive comparison of UTF-32
2 strings.
3 Copyright (C) 2009-2019 Free Software Foundation, Inc.
4 Written by Bruno Haible <bruno@clisp.org>, 2009.
6 This program is free software: you can redistribute it and/or modify it
7 under the terms of the GNU Lesser General Public License as published
8 by the Free Software Foundation; either version 3 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 Lesser General Public License for more details.
16 You should have received a copy of the GNU Lesser General Public License
17 along with this program. If not, see <https://www.gnu.org/licenses/>. */
19 #include <config.h>
21 /* Specification. */
22 #include "unicase.h"
24 #include <errno.h>
25 #include <stdlib.h>
27 #include "localcharset.h"
28 #include "uniconv.h"
29 #include "amemxfrm.h"
31 #define FUNC u32_casexfrm
32 #define UNIT uint32_t
33 #define U_CASEFOLD u32_casefold
34 #define U_CONV_TO_ENCODING u32_conv_to_encoding
35 #include "u-casexfrm.h"