diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-02-01 10:57:11 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-02-01 10:57:11 +0000 |
commit | e376151dc59a695df00b3373dd6482fa927a324d (patch) | |
tree | 872cc26602b8994b786ab4afbae2d28890ac62cf | |
parent | a8c31cc3c62b0e4b3ac03aed3fde4486d2c4e16b (diff) | |
parent | ea3799d954e0b1723c0aa199d6511bd3243395ae (diff) | |
download | mtools-e376151dc59a695df00b3373dd6482fa927a324d.tar.gz |
Snap for 9550355 from ea3799d954e0b1723c0aa199d6511bd3243395ae to sdk-releaseplatform-tools-34.0.1platform-tools-34.0.0platform-tools-33.0.4busytown-mac-infra-release
Change-Id: Idd88fc5f3f0a1b7b6444d9115db869952d46b793
-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 |