diff options
Diffstat (limited to '')
-rw-r--r-- | contrib/infback9/inftree9.c | 2 | ||||
-rw-r--r-- | contrib/masmx64/readme.txt | 5 | ||||
-rw-r--r-- | contrib/masmx86/readme.txt | 10 | ||||
-rw-r--r-- | contrib/vstudio/vc10/zlibvc.def | 6 | ||||
-rw-r--r-- | contrib/vstudio/vc9/zlibvc.def | 6 |
5 files changed, 13 insertions, 16 deletions
diff --git a/contrib/infback9/inftree9.c b/contrib/infback9/inftree9.c index 4e04db9..510bba6 100644 --- a/contrib/infback9/inftree9.c +++ b/contrib/infback9/inftree9.c | |||
@@ -64,7 +64,7 @@ unsigned short FAR *work; | |||
64 | static const unsigned short lext[31] = { /* Length codes 257..285 extra */ | 64 | static const unsigned short lext[31] = { /* Length codes 257..285 extra */ |
65 | 128, 128, 128, 128, 128, 128, 128, 128, 129, 129, 129, 129, | 65 | 128, 128, 128, 128, 128, 128, 128, 128, 129, 129, 129, 129, |
66 | 130, 130, 130, 130, 131, 131, 131, 131, 132, 132, 132, 132, | 66 | 130, 130, 130, 130, 131, 131, 131, 131, 132, 132, 132, 132, |
67 | 133, 133, 133, 133, 144, 198, 71}; | 67 | 133, 133, 133, 133, 144, 64, 195}; |
68 | static const unsigned short dbase[32] = { /* Distance codes 0..31 base */ | 68 | static const unsigned short dbase[32] = { /* Distance codes 0..31 base */ |
69 | 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, | 69 | 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, |
70 | 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, | 70 | 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, |
diff --git a/contrib/masmx64/readme.txt b/contrib/masmx64/readme.txt index cd697c4..1115d9b 100644 --- a/contrib/masmx64/readme.txt +++ b/contrib/masmx64/readme.txt | |||
@@ -12,7 +12,10 @@ inffasx64.asm and inffas8664.c were written by Chris Anderson, by optimizing | |||
12 | 12 | ||
13 | Use instructions | 13 | Use instructions |
14 | ---------------- | 14 | ---------------- |
15 | Copy these files into the zlib source directory. | 15 | Assemble the .asm files using MASM and put the object files into the zlib source |
16 | directory. You can also get object files here: | ||
17 | |||
18 | http://www.winimage.com/zLibDll/zlib124_masm_obj.zip | ||
16 | 19 | ||
17 | define ASMV and ASMINF in your project. Include inffas8664.c in your source tree, | 20 | define ASMV and ASMINF in your project. Include inffas8664.c in your source tree, |
18 | and inffasx64.obj and gvmat64.obj as object to link. | 21 | and inffasx64.obj and gvmat64.obj as object to link. |
diff --git a/contrib/masmx86/readme.txt b/contrib/masmx86/readme.txt index 413580e..90230f2 100644 --- a/contrib/masmx86/readme.txt +++ b/contrib/masmx86/readme.txt | |||
@@ -7,9 +7,15 @@ longest_match() and inflate_fast(). | |||
7 | 7 | ||
8 | Use instructions | 8 | Use instructions |
9 | ---------------- | 9 | ---------------- |
10 | Copy these files into the zlib source directory, then run the | 10 | Assemble using MASM, and copy the object files into the zlib source |
11 | appropriate makefile, as suggested below. | 11 | directory, then run the appropriate makefile, as suggested below. You can |
12 | donwload MASM from here: | ||
12 | 13 | ||
14 | http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=7a1c9da0-0510-44a2-b042-7ef370530c64 | ||
15 | |||
16 | You can also get objects files here: | ||
17 | |||
18 | http://www.winimage.com/zLibDll/zlib124_masm_obj.zip | ||
13 | 19 | ||
14 | Build instructions | 20 | Build instructions |
15 | ------------------ | 21 | ------------------ |
diff --git a/contrib/vstudio/vc10/zlibvc.def b/contrib/vstudio/vc10/zlibvc.def index b3b7cab..0269ef7 100644 --- a/contrib/vstudio/vc10/zlibvc.def +++ b/contrib/vstudio/vc10/zlibvc.def | |||
@@ -115,9 +115,7 @@ EXPORTS | |||
115 | 115 | ||
116 | ; zlib1 v1.2.4 added: | 116 | ; zlib1 v1.2.4 added: |
117 | adler32_combine @140 | 117 | adler32_combine @140 |
118 | adler32_combine64 @141 | ||
119 | crc32_combine @142 | 118 | crc32_combine @142 |
120 | crc32_combine64 @143 | ||
121 | deflateSetHeader @144 | 119 | deflateSetHeader @144 |
122 | deflateTune @145 | 120 | deflateTune @145 |
123 | gzbuffer @146 | 121 | gzbuffer @146 |
@@ -125,10 +123,6 @@ EXPORTS | |||
125 | gzclose_w @148 | 123 | gzclose_w @148 |
126 | gzdirect @149 | 124 | gzdirect @149 |
127 | gzoffset @150 | 125 | gzoffset @150 |
128 | gzoffset64 @151 | ||
129 | gzopen64 @152 | ||
130 | gzseek64 @153 | ||
131 | gztell64 @154 | ||
132 | inflateGetHeader @156 | 126 | inflateGetHeader @156 |
133 | inflateMark @157 | 127 | inflateMark @157 |
134 | inflatePrime @158 | 128 | inflatePrime @158 |
diff --git a/contrib/vstudio/vc9/zlibvc.def b/contrib/vstudio/vc9/zlibvc.def index b3b7cab..0269ef7 100644 --- a/contrib/vstudio/vc9/zlibvc.def +++ b/contrib/vstudio/vc9/zlibvc.def | |||
@@ -115,9 +115,7 @@ EXPORTS | |||
115 | 115 | ||
116 | ; zlib1 v1.2.4 added: | 116 | ; zlib1 v1.2.4 added: |
117 | adler32_combine @140 | 117 | adler32_combine @140 |
118 | adler32_combine64 @141 | ||
119 | crc32_combine @142 | 118 | crc32_combine @142 |
120 | crc32_combine64 @143 | ||
121 | deflateSetHeader @144 | 119 | deflateSetHeader @144 |
122 | deflateTune @145 | 120 | deflateTune @145 |
123 | gzbuffer @146 | 121 | gzbuffer @146 |
@@ -125,10 +123,6 @@ EXPORTS | |||
125 | gzclose_w @148 | 123 | gzclose_w @148 |
126 | gzdirect @149 | 124 | gzdirect @149 |
127 | gzoffset @150 | 125 | gzoffset @150 |
128 | gzoffset64 @151 | ||
129 | gzopen64 @152 | ||
130 | gzseek64 @153 | ||
131 | gztell64 @154 | ||
132 | inflateGetHeader @156 | 126 | inflateGetHeader @156 |
133 | inflateMark @157 | 127 | inflateMark @157 |
134 | inflatePrime @158 | 128 | inflatePrime @158 |