Fix compiling zlib using x86_64-musl.

PR 21861
	* winduni.c (codepages): Use cp1252 for codepage 0.
This commit is contained in:
Marty Plummer 2017-07-31 10:31:18 +01:00 committed by Nick Clifton
parent 791fb3d7a5
commit 54387c7fe2
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2017-07-31 Marty Plummer <ntzrmtthihu777@gmail.com>
PR 21861
* winduni.c (codepages): Use cp1252 for codepage 0.
2017-07-25 Nick Clifton <nickc@redhat.com> 2017-07-25 Nick Clifton <nickc@redhat.com>
PR 21820 PR 21820

View File

@ -57,7 +57,7 @@ static int unichar_isascii (const unichar *, rc_uint_type);
/* Codepages mapped. */ /* Codepages mapped. */
static local_iconv_map codepages[] = static local_iconv_map codepages[] =
{ {
{ 0, "MS-ANSI" }, { 0, "cp1252" },
{ 1, "WINDOWS-1252" }, { 1, "WINDOWS-1252" },
{ 437, "MS-ANSI" }, { 437, "MS-ANSI" },
{ 737, "MS-GREEK" }, { 737, "MS-GREEK" },