changeset 280:08695f046565

#ifdef out the character set translation tables used by the fallback converter when HAVE_ICONV is enabled.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 07 Jan 2020 12:28:48 +0200
parents d5ab136cdc97
children 514d861516b0
files sidinfo.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/sidinfo.c	Tue Jan 07 10:10:24 2020 +0200
+++ b/sidinfo.c	Tue Jan 07 12:28:48 2020 +0200
@@ -388,6 +388,8 @@
 }
 
 
+#ifndef HAVE_ICONV
+
 static const uint8_t si_lang_iso88591_to_cp850[16*6] = {
 0xff, 0xad, 0xbd, 0x9c, 0xcf, 0xbe, 0xdd, 0xf5, 0xf9, 0xb8, 0xa6, 0xae, 0xaa, 0xf0, 0xa9, 0xee,
 0xf8, 0xf1, 0xfd, 0xfc, 0xef, 0xe6, 0xf4, 0xfa, 0xf7, 0xfb, 0xa7, 0xaf, 0xac, 0xab, 0xf3, 0xa8,
@@ -406,6 +408,8 @@
 0x00, 0xa4, 0x95, 0xa2, 0x93, 0x00, 0x94, 0xf6, 0x00, 0x97, 0xa3, 0x96, 0x81, 0x00, 0x00, 0x98,
 };
 
+#endif
+
 
 char *siConvertCharset(const char *src)
 {