projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
headers: check that _GL_INLINE_HEADER_BEGIN is defined
[gnulib.git]
/
lib
/
uniconv
/
u32-conv-to-enc.c
diff --git
a/lib/uniconv/u32-conv-to-enc.c
b/lib/uniconv/u32-conv-to-enc.c
index
70e5188
..
84b79d6
100644
(file)
--- a/
lib/uniconv/u32-conv-to-enc.c
+++ b/
lib/uniconv/u32-conv-to-enc.c
@@
-1,5
+1,5
@@
/* Conversion from UTF-32 to legacy encodings.
/* Conversion from UTF-32 to legacy encodings.
- Copyright (C) 2002, 2006-2007 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2006-2007
, 2009-2013
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published
@@
-34,13
+34,14
@@
alignment. */
#if defined _LIBICONV_VERSION
# define UTF32_NAME "UCS-4-INTERNAL"
alignment. */
#if defined _LIBICONV_VERSION
# define UTF32_NAME "UCS-4-INTERNAL"
-#elif (
__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
+#elif (
(__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)) && !defined __UCLIBC__
# define UTF32_NAME "WCHAR_T"
#endif
#define FUNC u32_conv_to_encoding
#define UNIT uint32_t
#define U_TO_U8 u32_to_u8
# define UTF32_NAME "WCHAR_T"
#endif
#define FUNC u32_conv_to_encoding
#define UNIT uint32_t
#define U_TO_U8 u32_to_u8
+#define U_MBLEN u32_mblen
#if defined UTF32_NAME
# define UTF_NAME UTF32_NAME
# define HAVE_UTF_NAME 1
#if defined UTF32_NAME
# define UTF_NAME UTF32_NAME
# define HAVE_UTF_NAME 1