OLD | NEW |
1 /* $Id: tif_zip.c,v 1.31 2011-01-06 16:00:23 fwarmerdam Exp $ */ | 1 /* $Id: tif_zip.c,v 1.31 2011-01-06 16:00:23 fwarmerdam Exp $ */ |
2 | 2 |
3 /* | 3 /* |
4 * Copyright (c) 1995-1997 Sam Leffler | 4 * Copyright (c) 1995-1997 Sam Leffler |
5 * Copyright (c) 1995-1997 Silicon Graphics, Inc. | 5 * Copyright (c) 1995-1997 Silicon Graphics, Inc. |
6 * | 6 * |
7 * Permission to use, copy, modify, distribute, and sell this software and | 7 * Permission to use, copy, modify, distribute, and sell this software and |
8 * its documentation for any purpose is hereby granted without fee, provided | 8 * its documentation for any purpose is hereby granted without fee, provided |
9 * that (i) the above copyright notices and this permission notice appear in | 9 * that (i) the above copyright notices and this permission notice appear in |
10 * all copies of the software and related documentation, and (ii) the names of | 10 * all copies of the software and related documentation, and (ii) the names of |
(...skipping 28 matching lines...) Expand all Loading... |
39 * entirely. This means that files written with the old library cannot | 39 * entirely. This means that files written with the old library cannot |
40 * be read; they should be converted to a different compression scheme | 40 * be read; they should be converted to a different compression scheme |
41 * and then reconverted. | 41 * and then reconverted. |
42 * | 42 * |
43 * The data format used by the zlib library is described in the files | 43 * The data format used by the zlib library is described in the files |
44 * zlib-3.1.doc, deflate-1.1.doc and gzip-4.1.doc, available in the | 44 * zlib-3.1.doc, deflate-1.1.doc and gzip-4.1.doc, available in the |
45 * directory ftp://ftp.uu.net/pub/archiving/zip/doc. The library was | 45 * directory ftp://ftp.uu.net/pub/archiving/zip/doc. The library was |
46 * last found at ftp://ftp.uu.net/pub/archiving/zip/zlib/zlib-0.99.tar.gz. | 46 * last found at ftp://ftp.uu.net/pub/archiving/zip/zlib/zlib-0.99.tar.gz. |
47 */ | 47 */ |
48 #include "tif_predict.h" | 48 #include "tif_predict.h" |
49 #include "../../../../../third_party/zlib_v128/zlib.h" | 49 #include "../zlib_v128/zlib.h" |
50 | 50 |
51 #include <stdio.h> | 51 #include <stdio.h> |
52 | 52 |
53 /* | 53 /* |
54 * Sigh, ZLIB_VERSION is defined as a string so there's no | 54 * Sigh, ZLIB_VERSION is defined as a string so there's no |
55 * way to do a proper check here. Instead we guess based | 55 * way to do a proper check here. Instead we guess based |
56 * on the presence of #defines that were added between the | 56 * on the presence of #defines that were added between the |
57 * 0.95 and 1.0 distributions. | 57 * 0.95 and 1.0 distributions. |
58 */ | 58 */ |
59 #if !defined(Z_NO_COMPRESSION) || !defined(Z_DEFLATED) | 59 #if !defined(Z_NO_COMPRESSION) || !defined(Z_DEFLATED) |
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
460 | 460 |
461 /* vim: set ts=8 sts=8 sw=8 noet: */ | 461 /* vim: set ts=8 sts=8 sw=8 noet: */ |
462 /* | 462 /* |
463 * Local Variables: | 463 * Local Variables: |
464 * mode: c | 464 * mode: c |
465 * c-basic-offset: 8 | 465 * c-basic-offset: 8 |
466 * fill-column: 78 | 466 * fill-column: 78 |
467 * End: | 467 * End: |
468 */ | 468 */ |
469 | 469 |
OLD | NEW |