[libpng16] Imported from libpng-1.6.0beta01.tar

This commit is contained in:
Glenn Randers-Pehrson
2011-12-15 10:18:33 -06:00
parent c4081f05c8
commit 26aad85204
27 changed files with 106 additions and 167 deletions

6
png.c
View File

@@ -14,7 +14,7 @@
#include "pngpriv.h"
/* Generate a compiler error if there is an old png.h in the search path. */
typedef png_libpng_version_1_6_0alpha01 Your_png_h_is_not_version_1_6_0alpha01;
typedef png_libpng_version_1_6_0beta01 Your_png_h_is_not_version_1_6_0beta01;
/* Tells libpng that we have already handled the first "num_bytes" bytes
* of the PNG file signature. If the PNG data is embedded into another
@@ -655,13 +655,13 @@ png_get_copyright(png_const_structp png_ptr)
#else
# ifdef __STDC__
return PNG_STRING_NEWLINE \
"libpng version 1.6.0alpha01 - December 5, 2011" PNG_STRING_NEWLINE \
"libpng version 1.6.0beta01 - December 15, 2011" PNG_STRING_NEWLINE \
"Copyright (c) 1998-2011 Glenn Randers-Pehrson" PNG_STRING_NEWLINE \
"Copyright (c) 1996-1997 Andreas Dilger" PNG_STRING_NEWLINE \
"Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc." \
PNG_STRING_NEWLINE;
# else
return "libpng version 1.6.0alpha01 - December 5, 2011\
return "libpng version 1.6.0beta01 - December 15, 2011\
Copyright (c) 1998-2011 Glenn Randers-Pehrson\
Copyright (c) 1996-1997 Andreas Dilger\
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.";