atoll: Assume that the compiler supports 'long long'.
[gnulib.git] / lib / unicase / u16-casexfrm.c
blob22f9d84f7a74d0d86f84ab8ec0e32e4856665728
1 /* Locale dependent transformation for case insensitive comparison of UTF-16
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 u16_casexfrm
32 #define UNIT uint16_t
33 #define U_CASEFOLD u16_casefold
34 #define U_CONV_TO_ENCODING u16_conv_to_encoding
35 #include "u-casexfrm.h"