projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
posix_spawn_file_actions_addclose: Work around Solaris 11 2011-11 bug.
[gnulib.git]
/
lib
/
uniconv
/
u16-strconv-to-enc.c
diff --git
a/lib/uniconv/u16-strconv-to-enc.c
b/lib/uniconv/u16-strconv-to-enc.c
index
10e895e
..
4cd708c
100644
(file)
--- a/
lib/uniconv/u16-strconv-to-enc.c
+++ b/
lib/uniconv/u16-strconv-to-enc.c
@@
-1,5
+1,5
@@
/* Conversion from UTF-16 to legacy encodings.
/* Conversion from UTF-16 to legacy encodings.
- Copyright (C) 2002, 2006-2007 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2006-2007
, 2009-2012
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
@@
-31,7
+31,7
@@
#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
/* Name of UTF-16 encoding with machine dependent endianness and alignment. */
#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
/* Name of UTF-16 encoding with machine dependent endianness and alignment. */
-#if defined _LIBICONV_VERSION || (
__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2
)
+#if defined _LIBICONV_VERSION || (
((__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)) && !defined __UCLIBC__
)
# ifdef WORDS_BIGENDIAN
# define UTF16_NAME "UTF-16BE"
# else
# ifdef WORDS_BIGENDIAN
# define UTF16_NAME "UTF-16BE"
# else