Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(186)

Side by Side Diff: third_party/libpng/pngconf.h

Issue 15041: Update libpng to 1.2.33. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 12 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/libpng/png.c ('k') | third_party/libpng/pngerror.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* pngconf.h - machine configurable file for libpng 2 /* pngconf.h - machine configurable file for libpng
3 * 3 *
4 * libpng version 1.2.29 - May 8, 2008 4 * libpng version 1.2.33 - October 31, 2008
5 * For conditions of distribution and use, see copyright notice in png.h 5 * For conditions of distribution and use, see copyright notice in png.h
6 * Copyright (c) 1998-2008 Glenn Randers-Pehrson 6 * Copyright (c) 1998-2008 Glenn Randers-Pehrson
7 * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) 7 * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
8 * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) 8 * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
9 */ 9 */
10 10
11 /* Any machine specific code is near the front of this file, so if you 11 /* Any machine specific code is near the front of this file, so if you
12 * are configuring libpng for a machine, you may want to read the section 12 * are configuring libpng for a machine, you may want to read the section
13 * starting here down to where it starts to typedef png_color, png_text, 13 * starting here down to where it starts to typedef png_color, png_text,
14 * and png_info. 14 * and png_info.
(...skipping 1101 matching lines...) Expand 10 before | Expand all | Expand 10 after
1116 typedef unsigned long png_uint_32; 1116 typedef unsigned long png_uint_32;
1117 typedef long png_int_32; 1117 typedef long png_int_32;
1118 typedef unsigned short png_uint_16; 1118 typedef unsigned short png_uint_16;
1119 typedef short png_int_16; 1119 typedef short png_int_16;
1120 typedef unsigned char png_byte; 1120 typedef unsigned char png_byte;
1121 1121
1122 /* This is usually size_t. It is typedef'ed just in case you need it to 1122 /* This is usually size_t. It is typedef'ed just in case you need it to
1123 change (I'm not sure if you will or not, so I thought I'd be safe) */ 1123 change (I'm not sure if you will or not, so I thought I'd be safe) */
1124 #ifdef PNG_SIZE_T 1124 #ifdef PNG_SIZE_T
1125 typedef PNG_SIZE_T png_size_t; 1125 typedef PNG_SIZE_T png_size_t;
1126 # define png_sizeof(x) png_convert_size(sizeof (x)) 1126 # define png_sizeof(x) png_convert_size(sizeof(x))
1127 #else 1127 #else
1128 typedef size_t png_size_t; 1128 typedef size_t png_size_t;
1129 # define png_sizeof(x) sizeof (x) 1129 # define png_sizeof(x) sizeof(x)
1130 #endif 1130 #endif
1131 1131
1132 /* The following is needed for medium model support. It cannot be in the 1132 /* The following is needed for medium model support. It cannot be in the
1133 * PNG_INTERNAL section. Needs modification for other compilers besides 1133 * PNG_INTERNAL section. Needs modification for other compilers besides
1134 * MSC. Model independent support declares all arrays and pointers to be 1134 * MSC. Model independent support declares all arrays and pointers to be
1135 * large using the far keyword. The zlib version used must also support 1135 * large using the far keyword. The zlib version used must also support
1136 * model independent data. As of version zlib 1.0.4, the necessary changes 1136 * model independent data. As of version zlib 1.0.4, the necessary changes
1137 * have been made in zlib. The USE_FAR_KEYWORD define triggers other 1137 * have been made in zlib. The USE_FAR_KEYWORD define triggers other
1138 * changes that are needed. (Tim Wegner) 1138 * changes that are needed. (Tim Wegner)
1139 */ 1139 */
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
1472 */ 1472 */
1473 #if (PNG_ZBUF_SIZE > 65536L) && defined(PNG_MAX_MALLOC_64K) 1473 #if (PNG_ZBUF_SIZE > 65536L) && defined(PNG_MAX_MALLOC_64K)
1474 # undef PNG_ZBUF_SIZE 1474 # undef PNG_ZBUF_SIZE
1475 # define PNG_ZBUF_SIZE 65536L 1475 # define PNG_ZBUF_SIZE 65536L
1476 #endif 1476 #endif
1477 1477
1478 /* Added at libpng-1.2.8 */ 1478 /* Added at libpng-1.2.8 */
1479 #endif /* PNG_VERSION_INFO_ONLY */ 1479 #endif /* PNG_VERSION_INFO_ONLY */
1480 1480
1481 #endif /* PNGCONF_H */ 1481 #endif /* PNGCONF_H */
OLDNEW
« no previous file with comments | « third_party/libpng/png.c ('k') | third_party/libpng/pngerror.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698