提交 6c2e919c 编写于 作者: G Glenn Randers-Pehrson

[devel] Removed checking for already-included setjmp.h from pngconf.h

上级 d259e6c5
Libpng 1.5.0beta10 - February 22, 2010
Libpng 1.5.0beta11 - March 3, 2010
This is not intended to be a public release. It will be replaced
within a few weeks by a public version or by another test version.
......@@ -9,20 +9,20 @@ Files available for download:
Source files with LF line endings (for Unix/Linux) and with a
"configure" script
1.5.0beta10.tar.xz (LZMA-compressed, recommended)
1.5.0beta10.tar.gz
1.5.0beta10.tar.bz2
1.5.0beta11.tar.xz (LZMA-compressed, recommended)
1.5.0beta11.tar.gz
1.5.0beta11.tar.bz2
Source files with CRLF line endings (for Windows), without the
"configure" script
lp150b10.zip
lp150b10.7z
lp150b11.zip
lp150b11.7z
Other information:
1.5.0beta10-README.txt
1.5.0beta10-LICENSE.txt
1.5.0beta11-README.txt
1.5.0beta11-LICENSE.txt
Changes since the last public release (1.4.1):
......@@ -69,9 +69,13 @@ version 1.5.0beta09 [February 19, 2010]
Removed -D_ALLSOURCE from configure.ac, makefile.aix, and CMakeLists.txt.
Changed the name of png_ptr->jmpbuf in pngstruct.h
version 1.5.0beta10 [February 22, 2010]
version 1.5.0beta10 [February 25, 2010]
Removed unused gzio.c from contrib/pngminim gather and makefile scripts
Revised png_longjmp() calls in contrib/gregbook to use png_ptr
Removed replacement error handlers from contrib/gregbook. Because of
the new png_longjmp() function they are no longer needed.
version 1.5.0beta11 [March 3, 2010]
Removed checking for already-included setjmp.h from pngconf.h
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit
......
......@@ -2546,9 +2546,13 @@ version 1.5.0beta09 [February 19, 2010]
Removed -D_ALLSOURCE from configure.ac, makefile.aix, and CMakeLists.txt.
Changed the name of png_ptr->jmpbuf in pngstruct.h
version 1.5.0beta10 [February 22, 2010]
version 1.5.0beta10 [February 25, 2010]
Removed unused gzio.c from contrib/pngminim gather and makefile scripts
Revised png_longjmp() calls in contrib/gregbook to use png_ptr
Removed replacement error handlers from contrib/gregbook. Because of
the new png_longjmp() function they are no longer needed.
version 1.5.0beta11 [March 3, 2010]
Removed checking for already-included setjmp.h from pngconf.h
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit
......
/* pngconf.h - machine configurable file for libpng
*
* libpng version 1.5.0beta09 - February 19, 2010
* libpng version 1.5.0beta11 - March 3, 2010
* For conditions of distribution and use, see copyright notice in png.h
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
......@@ -343,45 +343,8 @@
#endif
#ifdef PNG_SETJMP_SUPPORTED
/* This is an attempt to force a single setjmp behaviour on Linux. If
* the X config stuff didn't define _BSD_SOURCE we wouldn't need this.
*
* You can bypass this test if you know that your application uses exactly
* the same setjmp.h that was included when libpng was built. Only define
* PNG_SKIP_SETJMP_CHECK while building your application, prior to the
* application's '#include "png.h"'. Don't define PNG_SKIP_SETJMP_CHECK
* while building a separate libpng library for general use.
*/
# ifndef PNG_SKIP_SETJMP_CHECK
# ifdef __linux__
# ifdef _BSD_SOURCE
# define PNG_SAVE_BSD_SOURCE
# undef _BSD_SOURCE
# endif
# ifdef _SETJMP_H
/* If you encounter a compiler error here, see the explanation
* near the end of INSTALL.
*/
__pngconf.h__ in libpng already includes setjmp.h;
__dont__ include it again.;
# endif
# endif /* __linux__ */
# endif /* PNG_SKIP_SETJMP_CHECK */
/* Include setjmp.h for error handling */
# include <setjmp.h>
# ifdef __linux__
# ifdef PNG_SAVE_BSD_SOURCE
# ifdef _BSD_SOURCE
# undef _BSD_SOURCE
# endif
# define _BSD_SOURCE
# undef PNG_SAVE_BSD_SOURCE
# endif
# endif /* __linux__ */
#endif /* PNG_SETJMP_SUPPORTED */
#endif
#ifdef BSD
# include <strings.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册