# HG changeset patch # User Matti Hamalainen # Date 1578392928 -7200 # Node ID 08695f046565871721606abadceadf8a204df36e # Parent d5ab136cdc970409c2efba9dd1f9aec31ceaa0fe #ifdef out the character set translation tables used by the fallback converter when HAVE_ICONV is enabled. diff -r d5ab136cdc97 -r 08695f046565 sidinfo.c --- 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) {