diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 01:00:48 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 01:00:48 +0000 |
commit | 7d9468a83b9ad012c2e1cf9311e85024e8b65ca9 (patch) | |
tree | 872cc26602b8994b786ab4afbae2d28890ac62cf | |
parent | d70240e406897358415193861452a914fc3aad47 (diff) | |
parent | d25449ff09cdbac4a5797c767af18cd584a20bc9 (diff) | |
download | mtools-aml_cbr_341610000.tar.gz |
Snap for 10447354 from d25449ff09cdbac4a5797c767af18cd584a20bc9 to mainline-cellbroadcast-releaseaml_cbr_341710000aml_cbr_341610000aml_cbr_341510010aml_cbr_341410010aml_cbr_341311010aml_cbr_341110000aml_cbr_341011000aml_cbr_340914000android14-mainline-cellbroadcast-release
Change-Id: Ie1493102b937a2961989ab1dbc78ed150e6ef61a
-rw-r--r-- | codepages.c | 9 | ||||
-rw-r--r-- | config.h | 5 |
2 files changed, 13 insertions, 1 deletions
diff --git a/codepages.c b/codepages.c index ecb99ee..944131c 100644 --- a/codepages.c +++ b/codepages.c @@ -20,6 +20,13 @@ #ifndef HAVE_ICONV_H #include "codepage.h" +#ifdef USE_MOCK_CODEPAGES +Codepage_t codepages[]= { + { 850, + "" + }, +}; +#else Codepage_t codepages[]= { { 437, "ÇüéâäàåçêëèïîìÄÅ" @@ -113,6 +120,8 @@ Codepage_t codepages[]= { { 0 } }; +#endif + #else /* Should down ISO C forbids an empty translation unit warning [-Wpedantic]: */ typedef int make_iso_compilers_happy; @@ -53,7 +53,10 @@ #define HAVE_HTONS 1 /* Define to 1 if you have the <iconv.h> header file. */ -#define HAVE_ICONV_H 1 +/* #undef HAVE_ICONV_H */ + +/* Define to 1 if you want to use mock code pages. */ +#define USE_MOCK_CODEPAGES 1 /* Define to 1 if you have the <inttypes.h> header file. */ #define HAVE_INTTYPES_H 1 |