aboutsummaryrefslogtreecommitdiff
path: root/codepages.c
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 05:10:43 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 05:10:43 +0000
commit3c113dc2720951c329518902260360462ad1573a (patch)
tree872cc26602b8994b786ab4afbae2d28890ac62cf /codepages.c
parentfa70cb24848f36e92fdd70efd69a5b3f20dbaa3d (diff)
parentd25449ff09cdbac4a5797c767af18cd584a20bc9 (diff)
downloadmtools-3c113dc2720951c329518902260360462ad1573a.tar.gz
Change-Id: Ifb8176cced7943015939702765f2bfdd46d1d02a
Diffstat (limited to 'codepages.c')
-rw-r--r--codepages.c9
1 files changed, 9 insertions, 0 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;