OLD | NEW |
(Empty) | |
| 1 diff --git a/source/common/ucnv_bld.cpp b/source/common/ucnv_bld.cpp |
| 2 index 3c6b0e3..77fd0e6 100644 |
| 3 --- a/source/common/ucnv_bld.cpp |
| 4 +++ b/source/common/ucnv_bld.cpp |
| 5 @@ -65,11 +65,7 @@ converterData[UCNV_NUMBER_OF_SUPPORTED_CONVERTER_TYPES]={ |
| 6 |
| 7 &_Latin1Data, |
| 8 &_UTF8Data, &_UTF16BEData, &_UTF16LEData, |
| 9 -#if UCONFIG_ONLY_HTML_CONVERSION |
| 10 - NULL, NULL, |
| 11 -#else |
| 12 &_UTF32BEData, &_UTF32LEData, |
| 13 -#endif |
| 14 NULL, |
| 15 |
| 16 #if UCONFIG_NO_LEGACY_CONVERSION |
| 17 @@ -103,7 +99,7 @@ converterData[UCNV_NUMBER_OF_SUPPORTED_CONVERTER_TYPES]={ |
| 18 |
| 19 &_ASCIIData, |
| 20 #if UCONFIG_ONLY_HTML_CONVERSION |
| 21 - NULL, NULL, &_UTF16Data, NULL, NULL, NULL, |
| 22 + NULL, NULL, &_UTF16Data, &_UTF32Data, NULL, NULL, |
| 23 #else |
| 24 &_UTF7Data, &_Bocu1Data, &_UTF16Data, &_UTF32Data, &_CESU8Data, &_IMAPData, |
| 25 #endif |
| 26 @@ -168,7 +164,6 @@ static struct { |
| 27 { "utf16oppositeendian", UCNV_UTF16_BigEndian}, |
| 28 { "utf16platformendian", UCNV_UTF16_LittleEndian }, |
| 29 #endif |
| 30 -#if !UCONFIG_ONLY_HTML_CONVERSION |
| 31 { "utf32", UCNV_UTF32 }, |
| 32 { "utf32be", UCNV_UTF32_BigEndian }, |
| 33 { "utf32le", UCNV_UTF32_LittleEndian }, |
| 34 @@ -179,7 +174,6 @@ static struct { |
| 35 { "utf32oppositeendian", UCNV_UTF32_BigEndian }, |
| 36 { "utf32platformendian", UCNV_UTF32_LittleEndian }, |
| 37 #endif |
| 38 -#endif |
| 39 #if !UCONFIG_ONLY_HTML_CONVERSION |
| 40 { "utf7", UCNV_UTF7 }, |
| 41 #endif |
| 42 diff --git a/source/common/ucnv_u32.c b/source/common/ucnv_u32.c |
| 43 index b6804ca..9bee9a4 100644 |
| 44 --- a/source/common/ucnv_u32.c |
| 45 +++ b/source/common/ucnv_u32.c |
| 46 @@ -16,7 +16,7 @@ |
| 47 |
| 48 #include "unicode/utypes.h" |
| 49 |
| 50 -#if !UCONFIG_NO_CONVERSION && !UCONFIG_ONLY_HTML_CONVERSION |
| 51 +#if !UCONFIG_NO_CONVERSION |
| 52 |
| 53 #include "unicode/ucnv.h" |
| 54 #include "unicode/utf.h" |
OLD | NEW |