u32-conv-to-enc.c   u32-conv-to-enc.c 
/* Conversion from UTF-32 to legacy encodings. /* Conversion from UTF-32 to legacy encodings.
Copyright (C) 2002, 2006-2007, 2009-2010 Free Software Foundation, Inc. Copyright (C) 2002, 2006-2007, 2009-2014 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify it 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 under the terms of the GNU Lesser General Public License as published
by the Free Software Foundation; either version 3 of the License, or by the Free Software Foundation; either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
This program is distributed in the hope that it will be useful, This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details. Lesser General Public License for more details.
skipping to change at line 37 skipping to change at line 37
#include "striconveha.h" #include "striconveha.h"
#include "unistr.h" #include "unistr.h"
#define SIZEOF(array) (sizeof (array) / sizeof (array[0])) #define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
/* Name of UTF-32 or UCS-4 encoding with machine dependent endianness and /* Name of UTF-32 or UCS-4 encoding with machine dependent endianness and
alignment. */ alignment. */
#if defined _LIBICONV_VERSION #if defined _LIBICONV_VERSION
# define UTF32_NAME "UCS-4-INTERNAL" # define UTF32_NAME "UCS-4-INTERNAL"
#elif (__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2) #elif ((__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)) && !def ined __UCLIBC__
# define UTF32_NAME "WCHAR_T" # define UTF32_NAME "WCHAR_T"
#endif #endif
#define FUNC u32_conv_to_encoding #define FUNC u32_conv_to_encoding
#define UNIT uint32_t #define UNIT uint32_t
#define U_TO_U8 u32_to_u8 #define U_TO_U8 u32_to_u8
#define U_MBLEN u32_mblen #define U_MBLEN u32_mblen
#if defined UTF32_NAME #if defined UTF32_NAME
# define UTF_NAME UTF32_NAME # define UTF_NAME UTF32_NAME
# define HAVE_UTF_NAME 1 # define HAVE_UTF_NAME 1
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/