]>
sourceware.org Git - newlib-cygwin.git/blob - newlib/libc/iconv/lib/deps.h
2 * Copyright (c) 2003, Artem B. Bityuckiy, SoftMine Corporation.
3 * Rights transferred to Franklin Electronic Publishers.
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in the
12 * documentation and/or other materials provided with the distribution.
14 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 #ifndef __ICONV_DEPS_H__
29 #define __ICONV_DEPS_H__
32 * EUC-JP requires us_ascii, jis_x0208_1983, jis_x0201, jis_x0212_1990
34 #ifdef ICONV_CONVERTER_EUC_JP
35 # ifndef ICONV_CONVERTER_US_ASCII
36 # define ICONV_CONVERTER_US_ASCII
38 # ifndef ICONV_CONVERTER_JIS_X0208_1983
39 # define ICONV_CONVERTER_JIS_X0208_1983
41 # ifndef ICONV_CONVERTER_JIS_X0201
42 # define ICONV_CONVERTER_JIS_X0201
44 # ifndef ICONV_CONVERTER_JIS_X0212_1990
45 # define ICONV_CONVERTER_JIS_X0212_1990
47 #endif /* #ifdef ICONV_CONVERTER_EUC_JP */
50 * EUC-KR requires us_ascii, ksx1001
52 #ifdef ICONV_CONVERTER_EUC_KR
53 # ifndef ICONV_CONVERTER_US_ASCII
54 # define ICONV_CONVERTER_US_ASCII
56 # ifndef ICONV_CONVERTER_KSX_1001
57 # define ICONV_CONVERTER_KSX_1001
59 #endif /* #ifdef ICONV_CONVERTER_EUC_KR */
62 * EUC-TW requires us_ascii, cns11643_plane1, cns11643_plane2, cns11643_plane14
64 #ifdef ICONV_CONVERTER_EUC_TW
65 # ifndef ICONV_CONVERTER_US_ASCII
66 # define ICONV_CONVERTER_US_ASCII
68 # ifndef ICONV_CONVERTER_CNS11643_PLANE1
69 # define ICONV_CONVERTER_CNS11643_PLANE1
71 # ifndef ICONV_CONVERTER_CNS11643_PLANE2
72 # define ICONV_CONVERTER_CNS11643_PLANE2
74 # ifndef ICONV_CONVERTER_CNS11643_PLANE14
75 # define ICONV_CONVERTER_CNS11643_PLANE14
77 #endif /* #ifdef ICONV_CONVERTER_EUC_TW */
80 * GB2380 CES requires us_ascii, gb-2312-80 CCS
82 #ifdef ICONV_CONVERTER_GB2312
83 # ifndef ICONV_CONVERTER_US_ASCII
84 # define ICONV_CONVERTER_US_ASCII
86 # ifndef ICONV_CONVERTER_GB_2312_80
87 # define ICONV_CONVERTER_GB_2312_80
89 #endif /* #ifdef ICONV_CONVERTER_GB2312 */
91 #endif /* #ifndef __ICONV_DEPS_H__ */
93 #endif /* #ifdef ENABLE_ICONV */
This page took 0.037921 seconds and 5 git commands to generate.